Hello.
I want to control leds using multiplexing.
The microcontroller is ATmega8 (and even I tried another AVR objectives) but leds do not shine.
I set DDRB = 0b01111111 and PORTB = 0b11111111 for activating pull up resistors.
Then I connect:
PORTB0 --> led --> PORTB7 and does not work.
If I connect:
PORTB0 --> led --> explicit ground does work.
I must use some PORTB pins as ground and I know in real life everything works because I have made that kind of connections.
This simulator is awesome and I do not know if I am missing anything or if led only works if cathode is explicitly connected to ground. Please, help me.
Windows and version 0.4.15-SR10.
I want to control leds using multiplexing.
The microcontroller is ATmega8 (and even I tried another AVR objectives) but leds do not shine.
I set DDRB = 0b01111111 and PORTB = 0b11111111 for activating pull up resistors.
Then I connect:
PORTB0 --> led --> PORTB7 and does not work.
If I connect:
PORTB0 --> led --> explicit ground does work.
I must use some PORTB pins as ground and I know in real life everything works because I have made that kind of connections.
This simulator is awesome and I do not know if I am missing anything or if led only works if cathode is explicitly connected to ground. Please, help me.
Windows and version 0.4.15-SR10.