divinecosmos
Newbie level 3
I am using LPC 1769 for my microcontroller project. The microcontroller is ARM Cortex M-3.
I am having trouble programming the rotary encoder. It is of the incremental type. Any code fragments or any other help would be great.
A single click on rotary encoder makes it turn by 15 degrees. How do I detect a single turn (ie a rotation of 15 dgrees) clockwise and anticlockwise?
I am having trouble programming the rotary encoder. It is of the incremental type. Any code fragments or any other help would be great.
A single click on rotary encoder makes it turn by 15 degrees. How do I detect a single turn (ie a rotation of 15 dgrees) clockwise and anticlockwise?