Using interrupts for a rotary encoder


hi guys,

i have rotary encoder trying use work heading selector in auto-pilot panel simulator. need rotary encoder changes stored value supposed between 0 , 359. managed rotary encoder working, value jumps , down crazy every time try change it, value increases more turned (i turn 1 step , value increases 5) or after increasing 1 step value increases , comes (1, 0, 1, 0).

i recommended use interrupts have no idea is, how use it, , whether improve anything.

any help? please? :)

thanks

i don't think have seen rotary encoder solution did not require use of interrupts.

there solution can @ might make easier you.

http://www.pjrc.com/teensy/td_libs_encoder.html


Arduino Forum > Using Arduino > Programming Questions > Using interrupts for a rotary encoder


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key