Hi everyone,
Been experimenting controlling several 7 seg displays by switching low the common cathode.It works OK but I am afraid to switch the common when displaying more than three segments. I'm thinking I need to use a transistor.
Comments appreciated.
Been experimenting controlling several 7 seg displays by switching low the common cathode.It works OK but I am afraid to switch the common when displaying more than three segments. I'm thinking I need to use a transistor.
Comments appreciated.
Code:
start:
pins=%01100000 'Display a "1"
high portc 6
low portc 5 'Switch segment 1 common,low
pause 5
pins=%00001110 'Display a "7"
high portc 5
low portc 6 'Switch segment 2 common,low
pause 5
goto start