// write(number from 0 to 255, value from 0 to 16777215)
write(3,42)
write(73,1234)
// read back
read(3) // return 42
// write again
write(3,5678)
// read again
read(3) // return 5678
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.
You use it like this: