![]() |
Can I change the order of the menus?
I was wondering how to change the order in which the display information is set up.
I'd like to move the EOC screen between the Big Instant and the Instant/Current screen. I use those 3 all the time, I'd like them back to back to cut down on my button pushing while I'm driving :) Is this all I have to change, or is it more involved? #define displayFuncSize (sizeof(displayFuncs)/sizeof(pFunc)) //array size prog_char * displayFuncNames[displayFuncSize]; byte newRun = 0; void setup (void){ init2(); newRun = load();//load the default parameters byte x = 0; displayFuncNames[x++]= PSTR("Custom "); displayFuncNames[x++]= PSTR("Instant/Current "); displayFuncNames[x++]= PSTR("Instant/Tank "); displayFuncNames[x++]= PSTR("BIG Instant "); displayFuncNames[x++]= PSTR("BIG Current "); displayFuncNames[x++]= PSTR("BIG Tank "); displayFuncNames[x++]= PSTR("Current "); displayFuncNames[x++]= PSTR("Tank "); displayFuncNames[x++]= PSTR("EOC mi/Idle gal "); displayFuncNames[x++]= PSTR("CPU Monitor "); |
You got the right place, but change the screen order in here also to match:
pFunc displayFuncs[] ={ doDisplayCustom, doDisplayInstantCurrent, doDisplayInstantTank, doDisplayBigInstant, doDisplayBigCurrent, doDisplayBigTank, doDisplayCurrentTripData, doDisplayTankTripData, doDisplayEOCIdleData, doDisplaySystemInfo, }; |
All times are GMT -4. The time now is 08:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com