I want to interface a arduino mechanically with an old style clock. I attached a potentiometer to one of the gears then realized that the potentiometer doesn't rotate 360 degrees. It must rotate 360 degrees since the gear only turns in one direction. Does anybody know the name of a device that will act as a 360 degree potentiometer?