cleanup the arduino sketch.