C++ libraries for running on Arduino hardware.
##Install Arduino on your Host Machine
####Download the Arduino Software
http://arduino.cc/en/main/software
####Linux Install
sudo apt-get remove arduino #remove older version if necessary
mkdir ~/Arduino
mv ~/Downloads/arduino-X.Y.Z-linuxXX.tar.xz ~/Arduino/
cd ~/Arduino/
tar -xf arduino-X.Y.Z-linuxXX.tar.xz
cd arduino-X.Y.Z-linuxXX
echo "alias arduino='$(pwd)/arduino'" >> ~/.bashrc
source ~/.bashrc
On linux, you may need to add yourself to the group 'dialout' in order to have write permissions on the USB port:
sudo usermod -aG dialout $USER
sudo reboot
##Install These Arduino Libraries on your Host Machine
###Linux or Mac OS X
Install Python and git on your system if necessary.
Setup Python and Git for Linux
Setup Python and Git for Mac OS X
Open terminal:
mkdir ~/git
cd ~/git
git clone https://github.com/JaneliaSciComp/arduino-libraries.git
cd arduino-libraries
git submodule init
git submodule update
python symlinks.py --install
###Windows
Install git if necessary.
Open Git Bash:
(Use "Insert" key to paste into Git Bash)
cd ~/My\ Documents/Arduino
mv libraries/ libraries2/
git clone https://github.com/JaneliaSciComp/arduino-libraries.git libraries
cd libraries
git submodule init
git submodule update
cd ..
cp -r libraries2/. libraries/
cd libraries
git checkout .
###Running on Linux
arduino
###Linux Setup
# after Arduino starts, go to File : Preferences
# verify Sketchbook location:
# /home/<yourusername>/Arduino/