wifi.setIP/setAPIP and getAPIP
Where can i find the docs or expamples for using UDP trans and recv ?
Until the docs themselves get published, you could use the test code as a reference: https://github.com/espruino/Espruino/blob/master/tests/test_dgram_socket.js
It's meant to act just like the node.js version so there should be a few examples on the net was well.
Sorry asking here. Just got my Pixl.js. Wondering, which additional part I need to buy to enable wifi. APIs in my Pixl.js? If there is one...
Hi - probably the easiest solution is to get one of these: http://www.espruino.com/arduino-esp8266
For some reason the board itself doesn't seem to work properly as it comes so you either need to use some jumper leads or do some soldering (it's documented on that page).
However all you actually need is an ESP8266 with a voltage regulator, then it's just 4 wires. The only gotcha is a lot of the ESP8266 boards you buy now have USB - and that uses the two serial wires that you need :)
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem