Created
January 4, 2015 01:58
-
-
Save motiooon/55cbee1d993364362df9 to your computer and use it in GitHub Desktop.
RaspberryPi-IO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi ~/projects/robot $ sudo node start.js | |
1420336684394 Device(s) RaspberryPi-IO | |
1420336684555 Connected RaspberryPi-IO | |
1420336684561 Repl Initialized | |
>> | |
/home/pi/projects/robot/start.js:28 | |
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