Hi, I would control the rudder of a model boat sensing the direction of a compass and/or the direction of wind. I think of a simple shaft encoder using i.e. part of mouse. But how read or detect the direction (clockwise or counter-clockwise)? Thanks Renzo Giurini -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.