Creating the Arduino sketch