The base code witch communicates with the arduino