Skip to content

Instantly share code, notes, and snippets.

@alexglow
Created November 13, 2013 21:08
Show Gist options
  • Save alexglow/7456439 to your computer and use it in GitHub Desktop.
Save alexglow/7456439 to your computer and use it in GitHub Desktop.
error messages from hitting enter during tapster connection
Sauces-MacBook-Air:src sauce$ node bot.js
1384376401637 Board Connecting...
1384376401728 Serial Found possible serial port /dev/cu.usbmodem1411
1384376401729 Board -> Serialport connected /dev/cu.usbmodem1411
1384376403729 Repl Initialized
>> 1384376405145 Board <- Serialport ready /dev/cu.usbmodem1411
string_decoder.js:109
charStr += buffer.toString(this.encoding, 0, end);
^
RangeError: toString() radix argument must be between 2 and 36
at Number.toString (native)
at StringDecoder.write (string_decoder.js:109:21)
at ReadStream.onData (readline.js:833:39)
at ReadStream.EventEmitter.emit (events.js:95:17)
at Board.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/lib/board.js:304:27)
at Board.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/lib/board.js:124:18)
at null.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/node_modules/firmata/lib/firmata.js:472:25)
at g (events.js:175:14)
at EventEmitter.emit (events.js:92:17)
at Object.SYSEX_RESPONSE.(anonymous function) [as 106] (/Users/sauce/tapsterbot/node_modules/johnny-five/node_modules/firmata/lib/firmata.js:226:11)
Sauces-MacBook-Air:src sauce$ node bot.js
1384376444361 Board Connecting...
1384376444451 Serial Found possible serial port /dev/cu.usbmodem1411
1384376444453 Board -> Serialport connected /dev/cu.usbmodem1411
1384376447872 Board <- Serialport ready /dev/cu.usbmodem1411
1384376447872 Repl Initialized
>> dance()
undefined
>> chill()
undefined
>>
undefined
>>
(^C again to quit)
>>
1384376463171 Board Closing: firmata, serialport
Sauces-MacBook-Air:src sauce$ node bot.js
1384376464634 Board Connecting...
1384376464736 Serial Found possible serial port /dev/cu.usbmodem1411
1384376464737 Board -> Serialport connected /dev/cu.usbmodem1411
1384376464821 Repl Initialized
>> 1384376468155 Board <- Serialport ready /dev/cu.usbmodem1411
string_decoder.js:109
charStr += buffer.toString(this.encoding, 0, end);
^
RangeError: toString() radix argument must be between 2 and 36
at Number.toString (native)
at StringDecoder.write (string_decoder.js:109:21)
at ReadStream.onData (readline.js:833:39)
at ReadStream.EventEmitter.emit (events.js:95:17)
at Board.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/lib/board.js:304:27)
at Board.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/lib/board.js:124:18)
at null.<anonymous> (/Users/sauce/tapsterbot/node_modules/johnny-five/node_modules/firmata/lib/firmata.js:472:25)
at g (events.js:175:14)
at EventEmitter.emit (events.js:92:17)
at Object.SYSEX_RESPONSE.(anonymous function) [as 106] (/Users/sauce/tapsterbot/node_modules/johnny-five/node_modules/firmata/lib/firmata.js:226:11)
Sauces-MacBook-Air:src sauce$ node bot.js
1384376472686 Board Connecting...
1384376472779 Serial Found possible serial port /dev/cu.usbmodem1411
1384376472781 Board -> Serialport connected /dev/cu.usbmodem1411
1384376476199 Board <- Serialport ready /dev/cu.usbmodem1411
1384376476200 Repl Initialized
>> dance()
undefined
>> chill()
undefined
>>
@alexglow
Copy link
Author

phone has to be plugged into computer
make sure they're on same network?

@alexglow
Copy link
Author

input url on phone before putting it in!!!

@alexglow
Copy link
Author

smooshes into screen - wat

@alexglow
Copy link
Author

clipped stylus to ground pin on arduino -- still smooshes down & keeps going

@ytham
Copy link

ytham commented Dec 10, 2013

did you ever figure this out? i've been having the same issue when I attempt to do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment