my guess is that it will be some problem with one of the functions like cycling() etc.
I would suggest swapping out the functions to just print the string 'cycling' etc.
Also you might want to show the code you are using for the sub functions etc.
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 guess is that it will be some problem with one of the functions like cycling() etc.
I would suggest swapping out the functions to just print the string 'cycling' etc.
Also you might want to show the code you are using for the sub functions etc.