Page 1 of 1

about Phidget21 and Phidget22

Posted: Wed Sep 01, 2021 2:45 am
by Cuijwyn
My question is: which module of Phidget22 will correspond to setOnAccelerometerDataHandler of Phidget21?

Re: about Phidget21 and Phidget22

Posted: Wed Sep 01, 2021 9:53 am
by jdecoux
setOnAccelerationChangeHandler is likely the function you are looking for.

Specific code samples to get you started for your device can be found here:
https://www.phidgets.com/?view=code_samples&lang=Python

Any other API calls you may need (with examples) can be found here:
https://www.phidgets.com/?view=api&lang=Python