Hi!
I am currently working on an assignment using 4 thumbwheels to control 4 7 Segments. However, to reduce the number of I/O pins used, i will have to multiplex the 7 segments(Common Cathode).
I am unsure of the codes to used to control each segment. Anyone have any guidelines for me?
For common cathodes driver transistor (NPN) is need for each display common pin & the data is supplying the possitive path from the micro controller side.Each driver transistor must turn on one at a time & the correct binary pattern must move to the correct place (segment) of each drive transistors position.
But working principle is same for both common cathode and anode, the only difference is that the output data should be complimented and transistors should be changed.