{ "robot": { "name": "myRobot", "connections": [ { "adaptor": "Adaptor", "name": "arduino", "port": "/dev/ttyACM0" } ], "devices": [ { "commands": [ "isOn", "turnOn", "turnOff", "toggle", "brightness" ], "connection": "arduino", "driver": "Led", "name": "led", "pin": 13 }, { "commands": [ "isPressed" ], "connection": "arduino", "driver": "Button", "name": "button", "pin": 2 } ], "commands": [] } }