sorry just to be clear in the right hand side of IDE I put var http = require("http");
function onInit(){ http.createServer(function (req, res) { res.writeHead(200); res.end("Hello World"); }).listen(8080);} onInit();
then in left hand side I type save() then I repower the device and find doesnt work
@ghendo 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.
sorry just to be clear in the right hand side of IDE I put
var http = require("http");
function onInit(){
http.createServer(function (req, res) {
res.writeHead(200);
res.end("Hello World");
}).listen(8080);}
onInit();
then in left hand side I type
save()
then I repower the device and find doesnt work