I have built the circuit of the first push button. I have not made any changes to the original plan. Here is the picture:
I have put a two pin connector to a stripe and made a cut between the pins. then I connected one pin (the upper one in the picture) via a 10 kohm resistor to the ground. The same pin is also connected to pin 6 of the arduino. The other pin is connected to 5v via a 500 ohm resistor. The push button shorts the two pins.
I have modified the LCD test program a bit. Now the LCD background light is on when the push button is pressed. It is just for testing purposes. Later I will change this.
Here is the code: HelloWorldLCDButton

0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
You must be logged in to post a comment.