You are reading a single comment by @GeorgeM and its replies.
Click here to read the full conversation.
-
@Robin Thanks for getting back with all the resources... I'll have a look asap; in the meantime I've managed to get closer to what I wanted using callbacks.
And yes, new to JS as well... seems to be quite different when compared to Python or C/ C++.
Fri 2021.05.28
Place L11
analogRead(A5)
inside a small snippet, similarly to this example using an accelerometer:Okay, @GeorgeM you did clarify indicating new to Espruino, does that include the interpreter language Javascript as well?
The understanding of 'undefined' needs to be revisited.
The ninth bullet item down the list at:
Espruino follows the convention established at MDN:
Other useful resource: