Just to say that I've just added this - it'll be in 1v60. In that version, do:
eth.setIP();
to use DHCP, which will probably be fine.
Or do:
eth.setIP({ ip : "192.168.1.5" }); // see the docs for other things you can put here
This also means that DNS now works \o/
@Gordon started
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.
Just to say that I've just added this - it'll be in 1v60. In that version, do:
to use DHCP, which will probably be fine.
Or do:
This also means that DNS now works \o/