Low battery

Understanding the language, error messages, etc.

Low battery

Postby Sandman » Tue May 05, 2015 7:14 pm

Hello, i have built a gamebuino and my sd card slod havent arrived yet, so i decided to upload the hex file with Xloader. When i turn on the gamebuino it shows the logo and the low battery screen. I have tried to change the settings but with no result. Thanks for your help
Sandman
 
Posts: 1
Joined: Sun Apr 19, 2015 9:01 am

Re: Low battery

Postby fazo96 » Sun Jul 12, 2015 8:49 pm

I'm not an hardware expert but it's probably because your battery wiring is different from the Gamebuino's. What you can do is recompile the game/program you want to run but using a modified library with the battery check disabled. If you look at the source code of the Gamebuino library (here: https://github.com/Rodot/Gamebuino/blob/master/libraries/Gamebuino/settings.c) you can see that you can disable battery monitoring at line 38:
Code: Select all
#define ENABLE_BATTERY 1 //disable battery monitoring

If this doesn't work then I'm not sure what you could do, except further removing battery checks from the library
User avatar
fazo96
 
Posts: 9
Joined: Thu Jun 04, 2015 6:33 pm
Location: Italy

Re: Low battery

Postby rodot » Sun Jul 12, 2015 9:12 pm

No need to recompile the games, simply upload settings.hex and set the critical battery level to 0. It should do the trick ;)
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 67 guests

cron