Phidget Encoder readout + example

Hi all,

I’ve stripped and altered the ofxPhidgets add-on by @micuat in order to be able to read out Phidget Encoder position data. Although I’m sure it can be perfected (and I don’t completely understand it), it works great.

Maybe it can be of help for someone else: https://github.com/autofasurer/ofxPhidgetEncoder

Note that it does not use the CPhidgetEncoder_set_OnPositionChange_Handler and is hence only meant for logic code, not event driven code.

2 Likes