Rather than writing the GPS lat lon into cliock it would be better to write an app called my location. All mylocation will do is get a gps fix and write lat/lon to mylocation. Json. Then every app that needs your main location can read that. I had thought of doing this myself as I want to add sunrise and sunset to one of my clocks.
Also I wrote a library for gps, called geoutils. Its in gps touch app. I would be interested in extending that with the sunrise sunset calculations based on the value stored in mylocation. Json.
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.
Hi user136708,
Rather than writing the GPS lat lon into cliock it would be better to write an app called my location. All mylocation will do is get a gps fix and write lat/lon to mylocation. Json. Then every app that needs your main location can read that. I had thought of doing this myself as I want to add sunrise and sunset to one of my clocks.
Also I wrote a library for gps, called geoutils. Its in gps touch app. I would be interested in extending that with the sunrise sunset calculations based on the value stored in mylocation. Json.