Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
pi@raspberrypi ~/projects/robot $ sudo node start.js
1420336684394 Device(s) RaspberryPi-IO
1420336684555 Connected RaspberryPi-IO
1420336684561 Repl Initialized
board.pinMode(Motor1A, board.MODES.OUTPUT);
TypeError: Cannot read property 'OUTPUT' of undefined
at Board.<anonymous> (/home/pi/projects/robot/start.js:28:37)
at Board.emit (events.js:95:17)
at Board.broadcast (/home/pi/projects/robot/node_modules/johnny-five/lib/board.js:423:8)
at Board.<anonymous> (/home/pi/projects/robot/node_modules/johnny-five/lib/board.js:325:21)
at Raspi.g (events.js:180:16)
at Raspi.emit (events.js:92:17)
at /home/pi/projects/robot/node_modules/raspi-io/lib/index.js:205:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.