/arduino-christmas

basic arduino code to control an array of leds, modified from `http://instructables.com/id/Arduino-Controlled-Positional-RGB-LED-Christmas-Tr/`

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

Building

Prerequisites

Raspberry Pi:

cd ~
wget https://downloads.arduino.cc/arduino-1.8.5-linuxarm.tar.xz
tar xf arduino-1.8.5-linuxarm.tar.xz
mv arduino-1.8.5 arduino-ide
  • Additionally, Adafruit_NeoPixel must be installed in arduino's library folder:
git clone https://github.com/adafruit/Adafruit_NeoPixel ~/arduino-ide/Adafruit_NeoPixel

compile

run ./compile.sh to compile the arduino sketch. the build output will be in the ./build folder

upload

run ./upload.sh to upload the compiled sketch to the arduino-uno connected via the raspberry pi usb port (should be /dev/ttyACM0)