gb.battery.show=false not working?

Understanding the language, error messages, etc.

gb.battery.show=false not working?

Postby yodasvideoarcade » Fri Aug 01, 2014 12:17 pm

I tried this but it still shows the battery-indicator in the top-right.

Any suggestions?
User avatar
yodasvideoarcade
 
Posts: 102
Joined: Sat Apr 19, 2014 10:48 am
Location: Frankfurt/Germany

Re: gb.battery.show=false not working?

Postby Jolly » Fri Aug 01, 2014 12:26 pm

I don't have a Gamebuino here with me, but at least the emulator doesn't show the battery symbol if I put this line at the end of setup().
I'll try it again when I'm home.
Jolly
 
Posts: 40
Joined: Fri Jul 25, 2014 9:07 pm
Location: Germany

Re: gb.battery.show=false not working?

Postby 94k » Fri Aug 01, 2014 12:34 pm

It works for me, but keep in mind that it doesn't persist between restarts (I think).
User avatar
94k
 
Posts: 44
Joined: Sun Jul 27, 2014 9:41 pm
Location: Germany

Re: gb.battery.show=false not working?

Postby rodot » Fri Aug 01, 2014 2:19 pm

That's a variable so yeah it doesn't persist if you restart or switch to another game.
It hides the battery except if it's under the low level (see battery level values here), then it shows a blinking battery to tell you that the Gamebuino is going to shut down soon.
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France


Return to Programming Questions

Who is online

Users browsing this forum: No registered users and 65 guests