Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
Diff: common.h
- Revision:
- 13:62e0f7f39ff5
- Child:
- 17:e32324a2678d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common.h Sun Mar 03 17:06:12 2013 +0000 @@ -0,0 +1,21 @@ +#define maxScreens 7 +#define offScreen 0 +#define logScreen 1 +#define dteScreen 2 +#define brakeScreen 3 +#define powerScreen 4 +#define monitorScreen 5 +#define changedScreen 6 +#define cpScreen 7 +#define upLine "\033[1A" +#define maxBufLen 768 +#define canTimeout 500 +#define userTimeout 10 +#define btn31x1 12 +#define btn31x2 101 +#define btn32x1 115 +#define btn32x2 204 +#define btn33x1 218 +#define btn33x2 307 +#define btn11y1 180 +#define btn11y2 229