Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
displayModes.h@47:9cc7d876dd6d, 2013-04-02 (annotated)
- Committer:
- TickTock
- Date:
- Tue Apr 02 07:23:46 2013 +0000
- Revision:
- 47:9cc7d876dd6d
- Parent:
- 44:6262a9fd1e56
- Child:
- 48:d1ce92104a1f
added showbutton feature to hide button on histogram
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| TickTock | 12:8e42d7ba8468 | 1 | // This contains all the display subroutines | 
| TickTock | 12:8e42d7ba8468 | 2 | |
| TickTock | 12:8e42d7ba8468 | 3 | #include "TOUCH_TFTx2.h" | 
| TickTock | 12:8e42d7ba8468 | 4 | #include "Arial12x12.h" | 
| TickTock | 12:8e42d7ba8468 | 5 | #include "Arial12x12_prop.h" | 
| TickTock | 22:a43df3905863 | 6 | #include "Arial24x23.h" | 
| TickTock | 12:8e42d7ba8468 | 7 | #include "Arial28x28.h" | 
| TickTock | 12:8e42d7ba8468 | 8 | #include "Neu42x35.h" | 
| TickTock | 12:8e42d7ba8468 | 9 | #include "SCProSB31x55.h" | 
| TickTock | 13:62e0f7f39ff5 | 10 | #include "common.h" | 
| TickTock | 12:8e42d7ba8468 | 11 | |
| TickTock | 13:62e0f7f39ff5 | 12 | extern CANMessage lastMsg[100]; | 
| TickTock | 13:62e0f7f39ff5 | 13 | extern unsigned char indexOffset; | 
| TickTock | 13:62e0f7f39ff5 | 14 | extern unsigned char msgChanged[100]; | 
| TickTock | 13:62e0f7f39ff5 | 15 | extern char displayLog[20][40]; | 
| TickTock | 13:62e0f7f39ff5 | 16 | extern unsigned char displayLoc; | 
| TickTock | 13:62e0f7f39ff5 | 17 | extern char indexLastMsg[0x800]; | 
| TickTock | 13:62e0f7f39ff5 | 18 | extern unsigned char battData[256]; | 
| TickTock | 13:62e0f7f39ff5 | 19 | extern bool showCP; | 
| TickTock | 23:cd03f9c3395e | 20 | extern bool logEn; | 
| TickTock | 33:a277743ebdeb | 21 | extern bool repeatPoll; | 
| TickTock | 13:62e0f7f39ff5 | 22 | extern unsigned char dMode[2]; | 
| TickTock | 13:62e0f7f39ff5 | 23 | extern unsigned char lastDMode[2]; | 
| TickTock | 13:62e0f7f39ff5 | 24 | extern unsigned char sMode; | 
| TickTock | 13:62e0f7f39ff5 | 25 | extern TOUCH_TFTx2 tt; | 
| TickTock | 25:ddf0ec209f03 | 26 | extern unsigned char dtMode; | 
| TickTock | 35:5acbd8a64a89 | 27 | extern float accV; | 
| TickTock | 36:dbd39c315258 | 28 | extern bool playbackEn; | 
| TickTock | 36:dbd39c315258 | 29 | extern bool playbackOpen; | 
| TickTock | 36:dbd39c315258 | 30 | extern float playbackInt; | 
| TickTock | 44:6262a9fd1e56 | 31 | extern float kW; | 
| TickTock | 37:fea2c1d52c5f | 32 | extern float mpkWh; | 
| TickTock | 41:8d4609ea7259 | 33 | extern float MPH; | 
| TickTock | 42:4533b13b297d | 34 | extern unsigned char whichTouched; | 
| TickTock | 12:8e42d7ba8468 | 35 | |
| TickTock | 12:8e42d7ba8468 | 36 | extern "C" { | 
| TickTock | 42:4533b13b297d | 37 | void printLast (bool force, bool showButtons); | 
| TickTock | 42:4533b13b297d | 38 | void printChanged (bool force, bool showButtons); | 
| TickTock | 42:4533b13b297d | 39 | void printLog (bool force, bool showButtons); | 
| TickTock | 42:4533b13b297d | 40 | void mainDisplay (bool force, bool showButtons); | 
| TickTock | 42:4533b13b297d | 41 | void dteDisplay (bool force, bool showButtons); | 
| TickTock | 42:4533b13b297d | 42 | void braking (bool force, bool showButtons, bool prdata); | 
| TickTock | 42:4533b13b297d | 43 | void cpData(bool force, bool showButtons); | 
| TickTock | 47:9cc7d876dd6d | 44 | void cpHistogram(bool force, bool showButtons); // gg - hist | 
| TickTock | 42:4533b13b297d | 45 | void showDateTime(bool force, bool showButtons); | 
| TickTock | 13:62e0f7f39ff5 | 46 | void updateDisplay(char display); | 
| TickTock | 24:6cf76ed8c432 | 47 | void showButton(unsigned char column, unsigned char row, char * text1, char * text2, unsigned char columns, unsigned char rows); | 
| TickTock | 12:8e42d7ba8468 | 48 | } | 
