Adding the Arduino code