Converted to Arduino

Due to problems running on a ChipKit we had to convert to using an
Arduino.