test fork
Dependencies: SPI_TFTx2 SPI_TFTx2_ILI9341 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary_9341 by
Diff: displayModes.h
- Revision:
- 42:4533b13b297d
- Parent:
- 41:8d4609ea7259
- Child:
- 44:6262a9fd1e56
diff -r 8d4609ea7259 -r 4533b13b297d displayModes.h --- a/displayModes.h Sun Mar 31 18:57:36 2013 +0000 +++ b/displayModes.h Sun Mar 31 20:38:15 2013 +0000 @@ -31,16 +31,17 @@ extern float kWh; extern float mpkWh; extern float MPH; +extern unsigned char whichTouched; extern "C" { - void printLast (bool force); - void printChanged (bool force); - void printLog (bool force); - void mainDisplay (bool force); - void dteDisplay (bool force); - void braking (bool force, bool prdata); - void cpData(bool force); - void showDateTime(bool force); + void printLast (bool force, bool showButtons); + void printChanged (bool force, bool showButtons); + void printLog (bool force, bool showButtons); + void mainDisplay (bool force, bool showButtons); + void dteDisplay (bool force, bool showButtons); + void braking (bool force, bool showButtons, bool prdata); + void cpData(bool force, bool showButtons); + void showDateTime(bool force, bool showButtons); void updateDisplay(char display); void showButton(unsigned char column, unsigned char row, char * text1, char * text2, unsigned char columns, unsigned char rows); } \ No newline at end of file