Hey - success ! I was wrong about the GPS settings not sticking across a Power Off /On.
I had not used my GPS for a while so got fooled by the extra time it takes when it has completely lost track of satellites. So I think I have a working gpssetup App !
At the moment I have an ON/OFF - just because I need a way of turning the GPS Power off BUT I can easily do that through any App. Shall I take the ON/OFF option out to do a pull request ?
One question I have is that I want to display a message while the GPS is powered on , setup and then powered off. At the moment I just get a blank screen. Here is the code snippet.
I am showing the back end of the menu setup. When you select Exit setupGPS() is called picking up the settings you have selected. Problem is I never see the message "Setting Up GSP". Do I need to trigger the call to setupGPS() through an interval timer say 10 ms after the call to g.drawString("Configuring GPS",120,120);
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey - success ! I was wrong about the GPS settings not sticking across a Power Off /On.
I had not used my GPS for a while so got fooled by the extra time it takes when it has completely lost track of satellites. So I think I have a working gpssetup App !
At the moment I have an ON/OFF - just because I need a way of turning the GPS Power off BUT I can easily do that through any App. Shall I take the ON/OFF option out to do a pull request ?
One question I have is that I want to display a message while the GPS is powered on , setup and then powered off. At the moment I just get a blank screen. Here is the code snippet.
I am showing the back end of the menu setup. When you select Exit setupGPS() is called picking up the settings you have selected. Problem is I never see the message "Setting Up GSP". Do I need to trigger the call to setupGPS() through an interval timer say 10 ms after the call to g.drawString("Configuring GPS",120,120);