UNPKG

kryten

Version:

A wrapper for johnny-five that lets you define/re-configure a board using JSON and then generates schemaform.io schema for controlling it.

19 lines (18 loc) 301 B
{ "autoDetect": true, "port": "", "interval": "500", "components": [{ "name": "Led_Pin_13", "action": "digitalWrite", "pin": "13" }, { "name": "some_sensor", "action": "analogRead", "pin": "3" }, { "name": "Servo1", "action": "servo", "pin": "6" }] }