Hi - I think you're posting on the wrong forum. What you have there is code written in C, and this forum is for Espruino (where code is written in JavaScript).
What board are you using? You'd be better off asking at the manufacturer's forums.
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.
Hi - I think you're posting on the wrong forum. What you have there is code written in C, and this forum is for Espruino (where code is written in JavaScript).
What board are you using? You'd be better off asking at the manufacturer's forums.