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 :)
Hello dear Gordon! Is it possible to release a firmware option for quartz at 25 MHz? And if possible, where can I download it?
I'm not sure I understand. You mean for Espruino WiFi?
Have you changed the oscillator for some reason, or you made your own board with a different oscillator on it?
I am engaged in charity training for children in programming and sponsors presented us with boards on the same chip as in Espruino WiFi, the only difference is that there is a 25 MHz quartz and no WiFi module. That's why dear Gordon, I asked you this question: is it possible to run Espruino on these boards?
Well, yes it is possible - but you'd have to build it yourself using the instructions at https://github.com/espruino/Espruino
It should be pretty easy to change https://github.com/espruino/Espruino/blob/master/targetlibs/stm32f4/lib/system_stm32f4xx.c#L254 - or you could just change the crystals?
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