Artificially intelligent rock paper scissors player. Read more here.
- Python (2.7)
- pip
- virtualenv
- Package requirements listed in
requirements.txt. (pip install -r requirements.txt)
- Leap Motion
- Desktop SDK
- Other libraries, as per https://api.leapmotion.com/documentation/python/devguide/Project_Setup.html
- Platformio
- Arduino Libraries
- Adafruit TiCoServo
- Adafruit LED Backpack
- Adafruit GFX
- Upload the sketch in
bot/bot.inoto your Arduino. source run
- Servos and NeoPixels don't play nicely together. Using Adafruit's TiCoServo library solved lots of my problems. For more info, read this.
- Keep
src/main.cppandbot/bot.inoin sync. Platformio uses the prior and the Arduino IDE uses the latter. At some point Platformio stopped uploading the sketch so it's currently just being used to get port info and other config settings to pass to the Python script. In theory, you shouldn't have to manually upload to the Arduino. ¯_(ツ)_/¯
