thingjs-blink
v0.0.5
Published
A Thing.js extension blinks an LED.
Downloads
2
Maintainers
Readme
Thing.js Blink
A Thing.js extension blinks an LED.
Install Extension
Add "thingjs-blink"
extension in "extensions"
, and setup "modules"
and "interval"
parameters in the board.json
file. The "modules"
parameter is an LED object listed in modules
, and the "interval"
parameter is the blinking interval(ms).
{
"modules": {
"led" : { "module": "Led", "pins": 44 }
},
"extensions": {
"thingjs-blink": { "modules": "led", "interval": 500 }
}
}
Run
Go to the directory stored the board.json
file, and run the below command.
path/to/thingjs board.json