Thanks that should do it. I didn't understand how to use the microswitches with the three connection points.