Fattoresaimon / ArduinoDuPPaLib

Libraries for DuPPa products on the Arduino IDE
GNU General Public License v3.0
41 stars 24 forks source link

I2C Encoder Mini - Long Push Duration #22

Closed thegigi closed 3 years ago

thegigi commented 3 years ago

I am using I2C Encoder Mini. Good product. I see that this can detect a long push. Is there any way to change the duration after which a long push event is being sent ?

thank you

Fattoresaimon commented 3 years ago

Hello,

Yes it's possible! You have to write the double push period register. Please check the datasheet at page 15. Thank you!

thegigi commented 3 years ago

Thank you !