Adding code for the Arduino and shield.