Just an example of how little current is required to light 32 LEDs simultaneously:
![]()
18F44K22 using internal oscillator at 64MHz
LED turned ON
PAUSEUS 500
LED turned OFF
PAUSEUS 500
...repeat for 31 other LEDs
Not bad, 18.97mA for 32 LEDs and PIC mcu.
To the naked eye, they all appear ON without blinking. A little pale, I could reduce the 330ohm resistor a little bit, maybe 270ohm, but this was taken under the kitchen light.
Robert

Quote:
18F44K22 using internal oscillator at 64MHz
LED turned ON
PAUSEUS 500
LED turned OFF
PAUSEUS 500
Not bad, 18.97mA for 32 LEDs and PIC mcu.
To the naked eye, they all appear ON without blinking. A little pale, I could reduce the 330ohm resistor a little bit, maybe 270ohm, but this was taken under the kitchen light.
Robert