Common cathode is common negative or ground so by assigning it 0's your making it negative so switching it on
EDIT: assigning the cathode itself negativewhich is connected to portb, by assigning the segments (portc) 0's yea that would blank them.
Ah by clearing portc which is connected to the segments i have solved the problemthanks so much guys
Last edited by ross246; - 16th June 2011 at 19:01.
Hi Ross,
Glad you got it to work. Now you can move on to not displaying any leading zero's.
Very nice code by the way, much more efficient than what I came up with a few years back.
Regards
Bob...
Bookmarks