Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341

Dependencies:   SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed

Fork of CANary by Tick Tock

Revisions of utility.h

Revision Date Message Actions
176:9c19f9856c76 2014-02-17 // Added to the temperature lookup table; // Fixed div0 boundary condition bug in CP histogram; // Splash trip meter on second screen when turned off if showHealth is enabled; // Max and min efficiency computed over 24 hour interval (to get roundtrip ef File  Diff  Annotate
174:cd27e80f197d 2014-01-05 // Calibrate audible brake monitor. brkMonRate is units Wh; brkMonThr is units Wh/s File  Diff  Annotate
171:355e284f5201 2013-12-28 // Converted dte display braking bargraph to kW; File  Diff  Annotate
170:7ee98e3611bc 2013-12-24 // Added kWperGid scalar to config file. .075 appears to be too small; // Added CCkWh_trip to TripLog (after kWh_trip); // Added uncalibrated available regen bars to dte screen File  Diff  Annotate
169:84d790ac18a2 2013-12-17 // Added trip meter including climate control impact; // Pulled updateConfig to dedicated procedure File  Diff  Annotate
167:58d4edf403d4 2013-12-03 // Added climate control impact to best case and worst case DTE (bug fix); 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
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
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
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
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
138:a2f5af85ed0d 2013-08-02 Fixed metric DTE formatting 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
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
128:25314f339565 2013-07-21 Kills thumbdrives on contact! File  Diff  Annotate
126:e0d039096891 2013-07-21 attempt to restore default; 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
110:ffddff3ad2f2 2013-06-30 Got battery and trip logs working. Fixed canlog to append (was overwriting previous data). File  Diff  Annotate
108:29b5a760adc2 2013-06-30 Fixed temperature bug but USB logging is disabled File  Diff  Annotate
102:fd19f777a0b4 2013-06-20 Added Ah, SOH, and more precise temperature measurement. File  Diff  Annotate
100:63a7456fc972 2013-06-15 reset display when fw update fails File  Diff  Annotate
98:9f8bab96edff 2013-06-10 Metric Initial Commit File  Diff  Annotate
95:248b3c25a7df 2013-05-03 Stop auto-polling when asleep; added battery temp to main display File  Diff  Annotate
93:c2402e8cd0e2 2013-05-01 Merged in tested logCan reentry fix File  Diff  Annotate
92:935adef49ea4 2013-04-22 Reverting to keep latest as last know *tested* revision. logCan interrupt fix work moved to CANaryTest fork. File  Diff  Annotate
88:45185a5f1c9b 2013-04-20 Made logCan reentry safe so logTS & logEven can be safely interrupted by logCan. File  Diff  Annotate
87:46ac3f2519d6 2013-04-19 Toggle Debug on Config Screen, Store all 5 Groups of Requested data. File  Diff  Annotate
83:52b1f330a62d 2013-04-17 Fixed DTE drawing bug where grid drew over graph File  Diff  Annotate
81:cf009a64eedd 2013-04-16 Merge with v78 File  Diff  Annotate
80:24f1793171e7 2013-04-16 logCan counts overflow Lost Messages, and others File  Diff  Annotate
79:68f0dd8d1f19 2013-04-16 Just turn on the message-send ticker when actually sending (instead of continuously triggering). File  Diff  Annotate
78:a383971fe02f 2013-04-16 Moved message request to ticker instead of wait_ms delay to stop buffer overrun caused by wait_ms blocking usb write. Also requests other four frames so raw data can be logged for analysis. File  Diff  Annotate
76:fb6779d0963e 2013-04-15 Fixed problem with mbed library File  Diff  Annotate
75:77bd26829dca 2013-04-15 Fixed overrun reporting bug but has problem with mbed41 library File  Diff  Annotate
69:6bfdfc002036 2013-04-14 Log Date-Time once per minute, and Log the firmware Version. File  Diff  Annotate
50:83d5864c64a0 2013-04-07 Removed DTE flicker. Added efficiency screen. Added configurable DTE interval. Allowed CP update even if CP logging disabled. File  Diff  Annotate
48:d1ce92104a1f 2013-04-06 Merged in gg's edits. Fixed config load (problem with floats) File  Diff  Annotate
41:8d4609ea7259 2013-03-31 Added mpkWh display File  Diff  Annotate
40:0e6e71a7323f 2013-03-31 eliminated flicker on 12V display; File  Diff  Annotate
39:eef8beac7411 2013-03-25 Fixed minor bug using tick to trigger refresh (changed to using change on accV) File  Diff  Annotate
37:fea2c1d52c5f 2013-03-24 Got kW computation working File  Diff  Annotate
36:dbd39c315258 2013-03-23 Added playback option File  Diff  Annotate
35:5acbd8a64a89 2013-03-21 Added 12V monitor; configurable 12V adjustment & dled brightness (via config file); new config file format 2; fixed reset on select bug File  Diff  Annotate
34:4751a8259b18 2013-03-20 Added auto-dim File  Diff  Annotate