You resistor value seems high. I use a 300 - 330 ohm resistor because a led needs 15 mAmps. Ie 5V/330 = .015 amps -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of acemailone Sent: Friday, May 13, 2005 11:12 PM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Blinking leds on PortA and PortB - ATmega163 I'm trying to blink some leds using an ATmega163. I have one led on PORTB.0 that goes to GND through a 4k7 resistor. This one works fine. A second led on PORTA.0 going to GND doesn't blink. If I connect it to VCC, then is blinking. I checked the datasheet of ATmega163 and I didn't see any difference for ports A and B when they are configured as general I/O. What could be the explanation? Adrian Yahoo! Groups Links
Message
RE: [AVR-Chat] Blinking leds on PortA and PortB - ATmega163
2005-05-15 by wbounce
Attachments
- No local attachments were found for this message.