Are you able to post up the exact code that you're using so we can give it a try? Also, which espruino version worked, and which didn't?
@Gordon started
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.
Are you able to post up the exact code that you're using so we can give it a try? Also, which espruino version worked, and which didn't?