Thu Aug 07, 2014 3:20 am
Thu Aug 07, 2014 9:35 am
case 3: //ambient min
while(1){
if(gb.update()){
gb.backlight.automatic = false;
gb.backlight.set(backlightMax);
if(changeValue(lightMin, 0, 1024, F("Min ambient light \n(when it's dark)\nassociated with\nmin backlight")))
break;
gb.display.print(F("\nCurrent ambient:"));
gb.display.print(gb.backlight.ambientLight);
}
}
gb.backlight.automatic = true;
break;
case 4: //ambient max
while(1){
if(gb.update()){
gb.backlight.automatic = false;
gb.backlight.set(backlightMin);
if(changeValue(lightMin, 0, 1024, F("Max ambient light \n(when it's bright)\nassociated with\nmax backlight")))
break;
gb.display.print(F("\nCurrent ambient:"));
gb.display.print(gb.backlight.ambientLight);
}
}
Thu Aug 07, 2014 1:55 pm
Thu Aug 07, 2014 9:05 pm
treflip wrote:Also it would be nice if the values went back to max from 0... sometimes I am trying to set the max and then go past it to 0. It sucks having to wait to hit high values again!
Thu Aug 07, 2014 10:42 pm
Fri Aug 08, 2014 10:22 am
Sat Aug 09, 2014 9:43 pm
rodot wrote:It was because the variables were unsigned, bug solved. It'll be in the next commit.
Edit: it's now online on github
Sat Aug 09, 2014 10:32 pm
Sun Aug 10, 2014 7:40 am
rodot wrote:SETTING.HEX automatically restores the default settings and save them on start-up when there is no settings detected.
Did you load another game in between for your settings to be erased? Did you do it over USB, or from the micro SD card?
Sun Aug 10, 2014 1:06 pm