Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
displayModes.h
- Committer:
- TickTock
- Date:
- 2013-03-31
- Revision:
- 42:4533b13b297d
- Parent:
- 41:8d4609ea7259
- Child:
- 44:6262a9fd1e56
File content as of revision 42:4533b13b297d:
// This contains all the display subroutines #include "TOUCH_TFTx2.h" #include "Arial12x12.h" #include "Arial12x12_prop.h" #include "Arial24x23.h" #include "Arial28x28.h" #include "Neu42x35.h" #include "SCProSB31x55.h" #include "common.h" extern CANMessage lastMsg[100]; extern unsigned char indexOffset; extern unsigned char msgChanged[100]; extern char displayLog[20][40]; extern unsigned char displayLoc; extern char indexLastMsg[0x800]; extern unsigned char battData[256]; extern bool showCP; extern bool logEn; extern bool repeatPoll; extern unsigned char dMode[2]; extern unsigned char lastDMode[2]; extern unsigned char sMode; extern TOUCH_TFTx2 tt; extern unsigned char dtMode; extern float accV; extern bool playbackEn; extern bool playbackOpen; extern float playbackInt; extern float kWh; extern float mpkWh; extern float MPH; extern unsigned char whichTouched; extern "C" { 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); }