hmm things get very complicated very quickly
var http = require("http");
function onInit(){ http.createServer(function (req, res) { res.writeHead(200); res.end("Hello World"); }).listen(8080);
but didnt 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.
hmm things get very complicated very quickly
I tried
var http = require("http");
function onInit(){
http.createServer(function (req, res) {
res.writeHead(200);
res.end("Hello World");
}).listen(8080);
}
but didnt work :(