- On the Raspberry Pi
pip install nanpy
pip install pygame
- On a PC with the Arduino IDE
git clone https://github.com/nanpy/nanpy-firmware
cd nanpy-firmware
./configure.sh
-
Open 'Nanpy/cfg.h' and set '1' to Servo, Wire, LCD, and Ultrasonic
-
Copy the Nanpy dir to your Arduino IDE's sketchbook (usually 'Documents/Arduino/')
-
Open Arduino IDE. Connect your Arduino.
-
Click File > Sketchbook > Nanpy > Upload
-
When successfully uploaded, connect the Arduino to your Raspi (use the USB ports obviously)
-
Run any of the starter examples here