Yes you can, but it calls C compiler over web when you send code to the device. I linked one of my gists there in the conversation. Later I made another one which is a bit slimmed down and contains result of the compiler in comments so you can see how it works. So with real nrf52 device if you comment the inline code and uncomment equivalent E.nativeCall parts below it it may run without setting up the compiler (as the online one does not support those compiler flags right now).
© Espruino, powered by microcosm.
Report a problem