could somebody please tell me the idea, of connecting a 7 segment display? Or rather, controlling it.
I have a common anode 4 digit display. From what i understand (lets talk about just one digit for now):
Pin1 connects to "base" of a npn tranzistor. the "collector" connects to 3.3v rail, and the "emitter" goes to the anode. then 7 cathodes connect to 7 other pins. lets say pin11 through pin 17. (there are resistors on the cathodes, and on the base)
Now in order to display a digit, i have to send a logic "1" to pin1, and somehow enable ground on some pins11-17 . is this correct?
if so, in Quartus II, I simply select pin1 as an output pin, but what am i supposed to do with pin11-pin17 ? Can somebody please explain this to me?
I hope I explained it in an understandable way
here is a shabby diagram (i forgot to draw the resistors)