IoT.js
IoT.js is an IoT framework provides the easiest and fastest way to develop IoT applications with open hardware.Getting Started
Blink an LED without any JavaScript code.- Install IoT.js
npm install -g iotjs
- Setup device.json
Add a new file device.json
and add the below JSON object.
{
"modules": {
"led" : { "module": "Led", "pins": 44 }
},
"extensions": {
"iotjs-blink": { "modules": "led" }
}
}
- Run
iotjs