Code in C for an Arduino board to control all the sensorial and actuator electronics