Friday, June 18, 2010
LED Noughts And Crosses
If a player pushes a button for a LED that is already glowing red or green, then that LED changes to yellow, exposing the false move! All the LEDs are then turned off, ready for the next game, by pressing the "Clear" button. For simplicity, the circuit shows only one tri-colour LED and a pair of opposing buttons. This circuit fragment must be repeated another eight times to create a complete 3 x 3 grid. A brief press on a button fires the associated SCR and turns on the LED. The common (cathode) lead of all LEDs is connected to the 0V rail via the normally-closed contacts of the "Clear" pushbutton (S3).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.