We'd need to see what code you're using. It almost looks like you might be trying to use a library meant for something else
@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.
We'd need to see what code you're using. It almost looks like you might be trying to use a library meant for something else