Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341

Dependencies:   SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed

Fork of CANary by Tick Tock

Revisions of main.cpp

Revision Date Message Actions
164:46ed06263b0e 2013-11-28 // Turn off noCC DTE when CC is off File  Diff  Annotate
163:3b6fab958773 2013-11-22 // Fixed efficiency screen discontinuity when CC power changes; // Added DTE & efficiency w/o CC to efficiency display File  Diff  Annotate
162:c6545fc0164a 2013-11-21 // Fixed efficiency screen discontinuity when CC power changes; // Added DTE & efficiency w/o CC to efficiency display File  Diff  Annotate
161:71ac85d11f03 2013-11-21 // * Subtract climate control power from stored efficiency data and add current CC power back in for display; // * Added X axis labels on CP histogram and scaled bar width; File  Diff  Annotate
160:905fe45ed54b 2013-11-20 // * Tweaked heater monitor to only issue once per power on/off; // * Added filtering to timeSync routing (some times set time to bogus value); // * Removed debug wait commands from config save and firmware update; // * Added 3-tone sound messages File  Diff  Annotate
159:577e9d015693 2013-11-08 // * Added heater activation warning message File  Diff  Annotate
158:059abeb44ba1 2013-10-31 // Fixed bug in date/time sync to sync on all days of the month; // Added auto time sync enable/disable button to cofig2 screen; // Highlight data if changed in testScreen; File  Diff  Annotate
157:1a100a5ed06f 2013-10-30 // Added trip max/min efficiency reset; // Added second config screen and RegenMon enable/disable File  Diff  Annotate
156:4e5d30535cf9 2013-10-24 // Changed efficency screen braking monitor to use actual motor amps instead of target regen signal; // Changed braking screen to use actual regen signal instead of target regen signal; File  Diff  Annotate
155:f31006516956 2013-10-19 // Added workaround to spkr and dled pwn not being independently controlled in hw; // Added ambient temperature to trip log; // Save Resr in history file so it doesn't reset to 75mOhms on CANary reset; // Fixed Reser formatting to %4.3f; File  Diff  Annotate
154:90ea16ca7475 2013-10-16 // Added mute button to upper right corner for quick access File  Diff  Annotate
153:e94cfe3c339c 2013-10-12 // Added current reversal tone; // Added MY2013 autoSync support (just time - no date) File  Diff  Annotate
152:a4d66901785d 2013-10-06 // Added clock sync with car clock option (MY2011,2012 only); // Fixed wrap bug in manual date update (january=00, not 01); File  Diff  Annotate
151:3047ebb3c9a8 2013-09-30 // added per_charge trip meter File  Diff  Annotate
150:ef46ce63345c 2013-09-27 // Removed air drag comp; // Added user message Id's to the config file; // Added copy of ehist.cny to USB on config save and load if present on firmware update File  Diff  Annotate
149:e9739523109f 2013-09-25 Compensated DTE with air drag of current ambient temperature. File  Diff  Annotate
148:6e3b9135fad2 2013-09-12 // No longer save config after firmware update; // Added config health check after read; // Added debugScreen; // Switched friction monitor to msgId:292 so MY2013 will work; // Added ambient to main display; // Added Resr to trip log File  Diff  Annotate
147:e0f1c84c62a6 2013-08-07 Changed CONFIG.TXT copy on thumbdrive to CONFIG.BAK to avoid unwanted restore. Also copy to thumbdrive happens when saveConfig is selected instead of on fw update.; File  Diff  Annotate
146:88f7bda79d8e 2013-08-07 restored support libraries File  Diff  Annotate
145:47cdacc468a4 2013-08-06 Fixed compiler error (.c vs .cpp) File  Diff  Annotate
144:b0c9d30dd346 2013-08-06 added accessory volt read from battData; put a copy of the config.txt on the USB drive during firmware update; added current trip efficiency below 10 minute efficiency to dte display; File  Diff  Annotate
143:88b5155622a5 2013-08-05 added accessory volt read from battData; put a copy of the config.txt on the USB drive during firmware update; File  Diff  Annotate
142:c1a11d6f181c 2013-08-04 changed trip log back to just cp vales File  Diff  Annotate
141:cf13a632ddb5 2013-08-04 tweaked brakeMon sensitivity and threshold File  Diff  Annotate
140:ab3e94eb0227 2013-08-04 Added odometer to batt and trip log; Added mi/km detection from dash; Added audible brake monitor; File  Diff  Annotate
139:ac227b203ef2 2013-08-02 Fixed right justify (compare to 9.5, 99.5 instead of 10, 100) File  Diff  Annotate
138:a2f5af85ed0d 2013-08-02 Fixed metric DTE formatting File  Diff  Annotate
137:70853cf5a30f 2013-07-28 Added update if screen touched on power; Fixed hang on immediate USB access File  Diff  Annotate
136:41a204105511 2013-07-27 Updated mainDisplay File  Diff  Annotate
135:89986950d501 2013-07-26 Hide buttons on health screen on powerdown; Turn off screen even if logging if car off and user idle; File  Diff  Annotate
134:ad243e4f1a17 2013-07-25 Added orange highlight if psi<32; Qualified max and min trip efficiency update with trips > 3 miles; Keep mbed asleep during charging (EVcan only) unless logging active; Added miles & kWh to trip log; File  Diff  Annotate
133:b0675d9d11dd 2013-07-24 Fixed display formatt problem File  Diff  Annotate
132:08748a67280a 2013-07-24 Added max and min DTE to main display. Put mbed to sleep during charging if not logging. File  Diff  Annotate
131:0d926c080a65 2013-07-24 Added Health splash screen on ignition on/off. Added copy of CONFIG.TXT from USB if present during firmware update. Added alt SOH. Tweaked graphics. File  Diff  Annotate
130:1a9d2a6d99ce 2013-07-22 Pulled last good metric rev into default branch File  Diff  Annotate
129:8991d0de01ab 2013-07-21 Merged into default (with errors) File  Diff  Annotate
128:25314f339565 2013-07-21 Kills thumbdrives on contact! File  Diff  Annotate
127:27c739fd6d71 2013-07-21 Recovered from failed attempt to restore default File  Diff  Annotate
126:e0d039096891 2013-07-21 attempt to restore default; File  Diff  Annotate
125:f58b7ab2abee 2013-07-21 Re-centered efficiency screen File  Diff  Annotate
124:0d622967b764 2013-07-20 Added tire pressure from canbus File  Diff  Annotate
123:a8c0042df617 2013-07-19 First attempt to add tire pressure File  Diff  Annotate
122:138a40892a4c 2013-07-17 Updated display formatting. Temporarily dumping all 7bb messages to ascii log for exploration. File  Diff  Annotate
121:553faf139a20 2013-07-11 Added shunt identification to cpbars display File  Diff  Annotate
120:041edeec08f5 2013-07-08 Changed Resr algorithm to one requiring less computation. Ignore data for small delta_V. File  Diff  Annotate
119:0e2b641e98a2 2013-07-05 fixed bugs in health screen File  Diff  Annotate
118:02010b18efdc 2013-07-05 Added Resr tracking and health display; File  Diff  Annotate
117:49883c779a74 2013-07-04 Added delay to initial poll to give BMS time to measure; File  Diff  Annotate
116:5cd72bae7c12 2013-07-04 Attempting to move buffer dump to ISR; File  Diff  Annotate
115:549410af477d 2013-07-04 Added delay to powerup ping (apparently BMS needs some time). Made all logging enabled by default File  Diff  Annotate
114:3f8c59a8a2b9 2013-07-02 fixed bug in battery log files (pointing to wrong cellpair locations) File  Diff  Annotate
113:f388b4505463 2013-07-01 Fixed regen display when in Neutral File  Diff  Annotate
112:b41b35401eb6 2013-07-01 Fixed lockup bug when USB already present File  Diff  Annotate
111:d1559bb25c43 2013-06-30 Added USB insertion detect. Logging will start once usb drive is inserted. File  Diff  Annotate
110:ffddff3ad2f2 2013-06-30 Got battery and trip logs working. Fixed canlog to append (was overwriting previous data). File  Diff  Annotate
109:3e6f0e8fca0d 2013-06-30 Change filesystem library. Got logging and playback working. File  Diff  Annotate
108:29b5a760adc2 2013-06-30 Fixed temperature bug but USB logging is disabled File  Diff  Annotate
107:e9be732c1ad4 2013-06-29 Added trip meter File  Diff  Annotate
106:f016912a03db 2013-06-28 added logging indicator on main screen File  Diff  Annotate
105:2da2d9378c57 2013-06-28 . File  Diff  Annotate