Cylon = require('..') # Initialize the robot Cylon.robot connection: name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' devices: [ {name: 'led', driver: 'led', pin: 13}, {name: 'button', driver: 'button', pin: 2} ] work: (my) -> my.button.on 'push', -> my.led.toggle() .start()