mathertel / RotaryEncoder

RotaryEncoder Arduino Library
Other
328 stars 107 forks source link

Remove polling functionality in example InterruptRotator.ino #38

Open sysshad opened 1 year ago

sysshad commented 1 year ago

Line 95 - This call is not needed when using interrupts :) encoder->tick(); // just call tick() to check the state.

Also lines 108 to 114 should be moved to the begin function, and update comments for newbies to understand it better :)