-
Wed 2020.02.12
My favorite I like to introduce individuals to:
as each concept has a 'try it yourself' window, where basic edits may be entered.
Mozilla repository:
https://developer.mozilla.org/en-US/docs/Web/JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/FunctionsInternational Standards body:
From post #4
'with the code provided below'
Was this a reference to the snippet in post #3 ? (e.g. that snippet appeared below the 'reply to edit' window when editting the reply, [even though post #3 occurred before your edit] rather than code that was intended to be uploaded?)
I believe it is the setServices() function you are after:
http://www.espruino.com/Reference#NRF
http://www.espruino.com/Reference#t_l_NRF_setServices
Thank you so much!
I managed to read from an espruino board with the react app I developed, now the part I am missing is writing. The javascript links might be helpful, thank you!
Once I define the characteristic I want to write to, with the code provided below, it recieves the sent data in evt, correct? and I can store that data in an array I can then access to control the car.
If that is correct, you have been super helpful and I guess I will move to figuring out how to write in the characteristic from the app.