Do you get any errors shown? We're trying to help, but if you just show us a section of your code, and just say 'doesn't work' whenever we try to help, we're not going to be able to do much for you.
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.
Do you get any errors shown? We're trying to help, but if you just show us a section of your code, and just say 'doesn't work' whenever we try to help, we're not going to be able to do much for you.