I have a few questions about 7-segment LED displays.
When we build a circuit using 7 segment (common-anode) and decoder (7447), we also use 4 tactile switches to make combinations. Should I directly connect switches to Vcc or ground (I have no knowledge about that) or what should I do with switches, after completing rest of circuit i.e. resistors to IC, IC to Vcc and display to Vcc?
I still need the answer but I think I did it!
Best Answer
It is not recommended lo leave logic inputs floating. You should use a pull-down / pull-up resistor (see Spehro Pefhany's comment).
simulate this circuit – Schematic created using CircuitLab
This circuit inputs low level by default (switch open). If you press the switch then it inputs high level.
simulate this circuit
This circuit inputs high level by default (switch open). If you press the switch then it inputs low level.