thing-js
Version:
A framework provides easiest and fastiest way to build devices.
43 lines (34 loc) • 957 B
Markdown
Thing.js is a framework provides the fastest and easiest way to develop applications for open hardware devices.
Blink an LED without any JavaScript code.
```sh
npm install thing-js
```
Add a new file `board.json` and add the below JSON object.
```json
{
"modules": {
"led" : { "module": "Led", "pins": 44 }
},
"extensions": {
"blink-led": { "modules": "led" }
}
}
```
```sh
~/path/to/thing-js/thingjs
```
Check the [API documentation][api-doc] to see how to control hardware modules on a dev board.
* [Raspberry Pi][rpi]
* [Linkit Smart 7688 (Duo)][linkit7688]
* [Evan Tseng](http://evanxd.io)
[]: https://thing-js.github.io/doc
[]: https://www.raspberrypi.org
[]: https://labs.mediatek.com/site/global/developer_tools/mediatek_linkit_smart_7688/whatis_7688/index.gsp