I think the LED currents are WAY higher than only 6mA. Mike read the datasheet where is said that when Vcc (the power supply voltage) is only 3V then the output current is only 6mA. But when Vcc is 5V then the maximum output current is higher than 20mA.
Looking over the data sheet, I fail to see any of the above. The only thing I see that even comes close is when Vcc = 3V, then Icc (power supply current) is a max of 5mA when active at 4MHz. And what Icc has to do with output current????? (except that any current sourced on the I/O pins will add to the 5mA max current)...
The part is rated at 40mA max I/O pin current, NO MATTER WHAT THE Vcc IS. This is an absolute rating and should not be exceeded, or even designed for. The I/O pins are rated differently at 5V and 3V, 20mA and 10mA, respectively, but this is just to spec the Voh value. You can still drive the output at 20mA (or above) with Vcc = 3V, they just don't guarantee a Voh of 2.2V min, and it'll probably be lower, not necessarily, just probably.
Last edited: