View Single Post
Old 07-14-2013, 12:36 AM   #23 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,808

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
% shavesizenotes
.17160original v0.86
89.815410consolidate setup(), mainloop() into main.
89.415340Folded enableXButton procedures into main()
89.015272Got rid of events[] feature.
88.615202pushed display names firmly into flash.
88.315144transformed getstr() into LCD::flashPrint(). Rewrote hardware initialization code to be more understandable.
98.216846converted 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.215820shifted 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.015436Added idleFuelRate, EOCSpeed functions. Consolidated speed, distance, fuel consumed, fuel rate functions. Keypress examination now done with value checking, and not doing bit conditions.
87.415006Converted 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.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
KY Metro (07-14-2013)