07-14-2013, 12:36 AM
|
#23 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,807
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 829
Thanked 708 Times in 456 Posts
|
% shave | size | notes | . | 17160 | original v0.86 | 89.8 | 15410 | consolidate setup(), mainloop() into main. | 89.4 | 15340 | Folded enableXButton procedures into main() | 89.0 | 15272 | Got rid of events[] feature. | 88.6 | 15202 | pushed display names firmly into flash. | 88.3 | 15144 | transformed getstr() into LCD::flashPrint(). Rewrote hardware initialization code to be more understandable. | 98.2 | 16846 | converted to hardware timer-based delay scheme, modified delay2(), modified mainloop cpu utilization reporting, modified timeout feature, fixed wake-on-button bug, added button debouncing, got rid of microseconds(), got rid of millis2() | 92.2 | 15820 | shifted tmptrip measurement transfers completely to timer 2 overflow interrupt, re-wrote calculations, got rid of tmptrip, got rid of instantmpg() and instantmph() and instantgph(). Renamed class functions to remove references to gallons and miles. | 90.0 | 15436 | Added idleFuelRate, EOCSpeed functions. Consolidated speed, distance, fuel consumed, fuel rate functions. Keypress examination now done with value checking, and not doing bit conditions. | 87.4 | 15006 | Converted display routines to use indexed character strings instead of conditional us/metric strings. |
^ Notes on what I did today to my MPGuino code.
Also experimented in Excel about what sort of square root algorithm to use.
|
|
|