Moved arduino stuff to arduino.h