You are reading a single comment by @fanoush and its replies.
Click here to read the full conversation.
-
but easy stuff more difficult.
Any example?
You can access hardware registers via poke/peek methods and also you can inline fragments of C code in case JS is not enough (speed, low level access). I don't know about anything that you couldn't do with Espruino. At worst it is easy to have custom build with own native C module with API visible from JS if inline C becomes too complicated (handle js variables directly inside C code).
Thanks both, especially for the reference manual. I'm used to register-level stuff in C, so all this high-level abstraction (and in JS no less) is confusing. Seems like it makes difficult stuff easy (the whole BLE stack) but easy stuff more difficult.
Thank you again, is there a way to tag a thread as 'answered'?