Sketch for Arduino