My best guess is that callback (on time intervals) overrun happens... Did you ever time the anonymous functions in your intervals?
I see sensor driven events - on(...) - which capture data that you then process in 100 and 250 ms intervals. What are the average intervals of you sensor - GPS and pressure - events?
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.
My best guess is that callback (on time intervals) overrun happens... Did you ever time the anonymous functions in your intervals?
I see sensor driven events - on(...) - which capture data that you then process in 100 and 250 ms intervals. What are the average intervals of you sensor - GPS and pressure - events?