Arduino driving code

The code used for arduino