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-03
- Revision:
- 13:62e0f7f39ff5
- Parent:
- 12:8e42d7ba8468
- Child:
- 22:a43df3905863
File content as of revision 13:62e0f7f39ff5:
// This contains all the display subroutines #include "TOUCH_TFTx2.h" #include "Arial12x12.h" #include "Arial12x12_prop.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 unsigned char dMode[2]; extern unsigned char lastDMode[2]; extern unsigned char sMode; extern TOUCH_TFTx2 tt; extern "C" { void printLast (bool force); void printChanged (bool force); void printLog (bool force); void printDTE (bool force); void braking (bool force, bool prdata); void cpData(bool force); void updateDisplay(char display); }