3 pushbutton units A, B and C each produce a logic '1' while pressed. Design a circuit in which briefly pressing C permanently turns off an indicator lamp L. To turn L on again, button A must be pressed first, then button B. Pressing them in the reverse order has no effect.
In the diagram attachment (which is the correct answer), I dont get how pressing B then A would have no effect as:
*If B is pressed first, a '1' will correspond to one of the inputs of the AND-gate, the R of the flip-flop will be triggered resetting the other input of the AND-gate to 0 (first input=0, second input=1). But now when A is pressed, the first input will change to '1', and thus both inputs = '1', which means the lamp turns on, but it shouldnt
In the diagram attachment (which is the correct answer), I dont get how pressing B then A would have no effect as:
*If B is pressed first, a '1' will correspond to one of the inputs of the AND-gate, the R of the flip-flop will be triggered resetting the other input of the AND-gate to 0 (first input=0, second input=1). But now when A is pressed, the first input will change to '1', and thus both inputs = '1', which means the lamp turns on, but it shouldnt
Attachments
-
5.3 KB Views: 33

