> i just browsed the data sheet but could not find in the "electrical
> characteristics" how much current i can output on a port.
> 
> I'd like to drive some LEDs.
> 
> I wonder, but this value should be in the data sheet, i must have
> missed it.

    On the Mega-128 data sheet I read there are two values I found:

    Maximum current per I/O pin   40.0 mA
    Maximum current Vcc and GND  200.0 mA

    So, don't try and drive 10 LEDs at 20.0 mA each.

                        -Alan

-- 
- Alan Kilian <kilian(at)bobodyne.com>




_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to