|Copyright||(c) Levent Erkok|
Simple number guessing game on the OSEPP Keyboard shield.
Thanks to David Palmer for lending me his OSEPP shield to play with!
The OSepp LCD Shield is a 16x2 LCD using a Hitachi Controller Furthermore, it has backlight, and 5 buttons. The hook-up is quite straightforward, using our existing Hitachi44780 controller as an example. More information on this shield can be found at:
Initialize the shield. This is essentially simply registering the lcd with the HArduino library. In addition, we return two values to the user:
- A function to control the back-light
- A function to read (if any) key-pressed
Number guessing game, as a simple LCD demo. User thinks of a number
1000, and the Arduino guesses it.