I’ve an issue with my ATmega32A in some of PORTC pins.
I’m trying to control some LEDs using MCU but I faced an issue with PINC2,3,4,5 as shown in picture bellow.
Off state (LED num 3,4,5,6 from the bottom):
I measured the output voltage in those pins using voltmeter.
With LEDs connected:
- On state: 2.6 V
- Off state: 2.9 V
Without the LEDs:
- On state: 4 V
- Off state: 5 V
Only one pin PINC4:
- With LEDs connected: 1 V
- Without the LEDs: 2 V
I don’t know what’s going on. Can anyone explain what’s happening?