View Single Post
Old 06-13-2015, 08:51 PM   #69 (permalink)
EcoModding Apprentice
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Yep, so long as vssSpeed isn't already declared as a global variable (looks like it's free to me).
Though you may want to copy/paste the whole subroutine and give it a unique name like LEDnumFloatVSSspeed(). The "float distance = " line isn't doing anything useful in this routine, so you can delete it. Then go up to the top of the program and add &LEDnumFloatVSSspeed to LEDrenderPage, and change #define numLEDpages to 4. Or you can just replace &LEDnumVehicleSpeed on the list and leave numLEDpages at 3.
  Reply With Quote