added the beginnings of the arduino sketch