So, I played around with Debugger and here's the result:
Most likely my assumptions are correct: somehow the GPS Recorder writes empty lines to routes, and interface.html cannot process the empty line correctly, right? Therefore, an error occurs with the Invalid Date and NaN.
Could you please add empty line handling to interface.html? Empty lines from routes must either be ignored or incorrect data must be deleted during the execution of the script (the track's data where there is NaN).
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.
Thanks :)
So, I played around with Debugger and here's the result:
Most likely my assumptions are correct: somehow the GPS Recorder writes empty lines to routes, and interface.html cannot process the empty line correctly, right? Therefore, an error occurs with the Invalid Date and NaN.
Could you please add empty line handling to interface.html? Empty lines from routes must either be ignored or incorrect data must be deleted during the execution of the script (the track's data where there is NaN).