GPS Setup is pretty much ready. I have most of the code in my repository.
Switched to using promises and noticed that I dont think the delay() function is working as expected.
The 4 ERROR: Invalid RX or TX pins messages look like they are a response to config commands being sent too fast to the GPS. Also the time between calling setupGPS() and 'Powering off GPS' log message is only 7ms with the promises code.
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.
GPS Setup is pretty much ready. I have most of the code in my repository.
Switched to using promises and noticed that I dont think the delay() function is working as expected.
LOG USING EXISTING (hacky loop) METHOD
CONSOLE LOG USING PROMISES
The 4 ERROR: Invalid RX or TX pins messages look like they are a response to config commands being sent too fast to the GPS. Also the time between calling setupGPS() and 'Powering off GPS' log message is only 7ms with the promises code.