Quick update:
I was able to get it to work by starting up the hrm one second after GPS startup (via 'setTimeout') and by reducing the calls to 'draw()' to once a second (instead of every 500ms; not sure if this second change was strictly necessary).
It seems that the system gets overwhelmed when too many potentially call-back producing services get started simultaneously?
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.
Quick update:
I was able to get it to work by starting up the hrm one second after GPS startup (via 'setTimeout') and by reducing the calls to 'draw()' to once a second (instead of every 500ms; not sure if this second change was strictly necessary).
It seems that the system gets overwhelmed when too many potentially call-back producing services get started simultaneously?