Tyler Weaver
/
qp_hangman
Hangman game using qp a 16x2 LCD and joystick.
bsp.h@1:4efaebc256d3, 2012-02-09 (annotated)
- Committer:
- tylerjw
- Date:
- Thu Feb 09 03:57:44 2012 +0000
- Revision:
- 1:4efaebc256d3
- Parent:
- 0:1521c946a57b
Problems with qp library...
TODO: BSP for button and joystick then main.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tylerjw | 0:1521c946a57b | 1 | #ifndef bsp_h |
tylerjw | 0:1521c946a57b | 2 | #define bsp_h |
tylerjw | 0:1521c946a57b | 3 | |
tylerjw | 1:4efaebc256d3 | 4 | #define BSP_TICKS_PER_SEC 100 // system clock tick rate |
tylerjw | 0:1521c946a57b | 5 | |
tylerjw | 1:4efaebc256d3 | 6 | #include "TextLCD.h" |
tylerjw | 0:1521c946a57b | 7 | |
tylerjw | 0:1521c946a57b | 8 | TextLCD lcd(p10, p11, p17, p18, p19, p20); // rs, e, d4-d7 |
tylerjw | 0:1521c946a57b | 9 | |
tylerjw | 0:1521c946a57b | 10 | void BSP_init(void); |
tylerjw | 0:1521c946a57b | 11 | void BSP_lcdScrollIn(char*, char*); // display functions |
tylerjw | 0:1521c946a57b | 12 | void BSP_lcdUpdate(char*,char*); |
tylerjw | 0:1521c946a57b | 13 | #endif |