Question: Using 1 push - button switch, 1 potentiometer, 1 LCD and 1 buzzer build a circuit and write a sketch to create a game. On

Using 1 push-button switch, 1 potentiometer, 1 LCD and 1 buzzer build a circuit and write a sketch to create a game. On the bottom row you can control the position of an up-pointing arrow by turning the potentiometer. On the top row a down pointing arrow appears in a random position. By turning the potentiometer, you need to match their position and press the button. If successful, the display then shows the time (in mSecs) between the appearance of the top arrow and pressing the button for 2 seconds. Then another random arrow is displayed, and the game continues. If the button is pressed and the arrows are not aligned the buzzer will sound and the display will freeze for 2 seconds. The game restarts.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!