IoT.js is an IoT framework provides the easiest and fastest way to develop IoT applications with open hardware.
Blink an LED without any JavaScript code.
npm install -g iotjs
Add a new file device.json
and add the below JSON object.
{
"modules": {
"led" : { "module": "Led", "pins": 44 }
},
"extensions": {
"iotjs-blink": { "modules": "led" }
}
}
iotjs
Check the API documentation to see how to control hardware modules on a dev board.