Cosa: An Object-Oriented Platform for Arduino programming

pito:

New Cosa driver class for Rotary Encoders.

I've got two quadrature output kinds of encoders (ie. see http://www.bourns.com/data/global/pdfs/ECW1J.pdf ):
a) with full cycle per detent
b) 1/4 cycle per detent
Would it be possible to configure it for that modi?

Hi Pito. The Cosa Rotary Encoder driver is a repackaging of Ben Buxton's excellent implementation into the object-oriented style of Cosa and integrated with Interrupt Pins and the Event Manager. Buxtronix: Rotary encoders, done properly

It is possible to configure in two modes; half and full step. The default is full step. Define HALF_STEP to change mode (in Rotary.cpp). I think this covers at least one of the cases.

Cheers!