I guess he's thinking in the line of writing server side code that controls espruinos in an API-like fashion, rather than simply sending it serial commands?
Something like
var espruino1 = new Espruino("/dev/tty...");
espruino1.LED1.set();
//and maybe a simple way to wrap into custom code
espruino1.myFunctionOnEspruinoBoard();
//EDIT: a very simple implementation could do
espruino1(function(){ LED1.set(); }); //then simply toString and send over serial
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.
I guess he's thinking in the line of writing server side code that controls espruinos in an API-like fashion, rather than simply sending it serial commands?
Something like