Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
common.h
- Committer:
- TickTock
- Date:
- 2014-03-24
- Revision:
- 180:5fdeeb86f3a3
- Parent:
- 178:bf6404312c45
File content as of revision 180:5fdeeb86f3a3:
#define offScreen 0 #define logScreen 1 #define mainScreen 2 #define brakeScreen 3 #define effScreen 4 #define dteScreen 5 #define cpScreen 6 #define cpHistScreen 7 #define cpBarScreen 8 #define monitorScreen 9 #define changedScreen 10 #define playbackScreen 11 #define dateScreen 12 #define configScreen 13 #define config2Screen 14 #define indexScreen 15 #define tripScreen 16 #define ccTripScreen 17 #define healthScreen 18 #define testScreen 19 #define whpgScreen 20 #define whScreen 21 #define maxScreens 21 #define btnGap 10 #define ttSkin 0 #define ggSkin 1 #define maxSkin 1 #define maxBufLen 1024 #define canTimeout 10 #define userTimeout 15 #define BatDataBaseG1 0x00 // 6 frames - SOH, SOC, Ah #define BatDataBaseG2 0x06 // 29 frames - Cell Pair data #define BatDataBaseG3 0x23 // 5 frames #define BatDataBaseG4 0x28 // 3 frames - Temperature data #define BatDataBaseG5 0x2B // 11 frames #define BatDataBaseG6 0x36 // 4 frames #define BatDataBaseG7 0x3A #define BatDataBufMax 0x196 // 7 x 3A bytes #define VP230Sleep 0 // Set to 0 if using VP231 (sleep disables RX) #define minTirePressure 128 // 34psi X 4