Week 2: A Simple Application of Switches and LED Circuit
This simple application of a circuit of switches and LED is a guessing game in which the player has certain number of chances to guess the right combination of buttons. This mimics a pad lock where you often have to press a combination of codes in order to unlock it. In this case, the combination of codes is a combination of buttons on the breadboard, which can be a single button or two buttons pressed simultaneously. If the guessed combination is correct, the green light will come on; otherwise, the red light will, instead.