...that also knows how to dance)
##Dependencies
- Node/npm
- One Tapster robot
##Getting Started
- Download and install the Arduino Client: http://arduino.cc/en/Guide/HomePage
- Follow the setup procedure, and use the "blink" test script to verify your Arduino is working.
- From the Arduino IDE upload the "Firmata" script: File -> Open -> Examples > Firmata > StandardFirmata
- Install the dependencies:
npm install
- Start'er up:
node bot.js
- Start dancing:
dance()
##Controlling the bot/device with your browser
- Put your phone into the bot
- (from inside the
js/
dir) start the repl:node bot.js
- Open the calibration page on your phone:
http://<your machine's ip>:8011
calibrate()
the bot to the phone- Open the control page on your computer:
http://localhost:8011/control
- Make clicking actions with your computer, see them happen to your phone!
##Development Run the following grunt command to execute testing and code quality checks:
grunt test
Put all jasmine specs in the spec
folder.