I'd rather just write the code in native C instead of dealing with anything the JS to C transpiler might introduce.
I don't have an issue with C code, I'm just a little confused with how the compile process works, especially when you consider that the puck.js has secure dfu
My code when you really boil it down can be condensed into a single switch statement on the first byte of the received data since all NFC commands are one byte
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.
I'd rather just write the code in native C instead of dealing with anything the JS to C transpiler might introduce.
I don't have an issue with C code, I'm just a little confused with how the compile process works, especially when you consider that the puck.js has secure dfu
My code when you really boil it down can be condensed into a single switch statement on the first byte of the received data since all NFC commands are one byte