Installing the Arduino IDE

There is a known problem compiling the firmware with recent versions of the Arduino software (>1.0); however, Version 0023 is known to work. Download the zip file 32bit or 64bit and extract the contents to "/home/username/arduino". You will also need to fix a bug in this code which prevents us from compiling code that uses the math.h library. Comment out line 79 in the file "/home/username/arduino/hardware/arduino/cores/arduino/wiring.h" so that it looks like this:

// #define round(x)     ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))

Installing the OneWire library

OneWire is a proprietary communications standard for communicating with a family of affordable sensors (e.g., temperature, humidity, etc.). Download and extract the contents of this zip file to "/home/username/libraries/OneWire".

Last modified 5 years ago Last modified on 09/12/12 13:43:47