??? 07/01/08 13:57 Read: times Msg Score: -1 -1 Answer is Wrong |
#156339 - Yes, it does Responding to: ???'s previous message |
Hi Chico.
Locking excellent Russ' flow chart, the "increment" or "decrement" happens with each change in A or B. Of course, you have to poll A and B fast enought (deppending on the rotary speed). Implementing the task with interrupts is more difficult and I think that may require some external hardware. This is because uC external interrupts reacts to level (LOW), or edge (HIGH to LOW transition), in most derivatives. You would need two inputs that react to BOTH transitions. Daniel |
Topic | Author | Date |
Help interfacing a home made rotary encoder | 01/01/70 00:00 | |
use wheele mouse parts | 01/01/70 00:00 | |
use a timer interrupt... | 01/01/70 00:00 | |
Add hysteresis | 01/01/70 00:00 | |
comparitor | 01/01/70 00:00 | |
Why I'm not a novelist | 01/01/70 00:00 | |
Noob! | 01/01/70 00:00 | |
Start like this | 01/01/70 00:00 | |
I think I can barely understand... | 01/01/70 00:00 | |
PCB | 01/01/70 00:00 | |
Results | 01/01/70 00:00 | |
ABOUT THE ROTARY INCODER | 01/01/70 00:00 | |
Stop shouting, will you? | 01/01/70 00:00 | |
Software comment | 01/01/70 00:00 | |
I Agree | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
Yes, it does | 01/01/70 00:00 | |
incorrect | 01/01/70 00:00 | |
Incorrect | 01/01/70 00:00 | |
Clarifying | 01/01/70 00:00 | |
Time between polls | 01/01/70 00:00 | |
here we go again | 01/01/70 00:00 | |
Mmmh... | 01/01/70 00:00 | |
I give up | 01/01/70 00:00 | |
Previosly commented | 01/01/70 00:00 | |
and contradicted | 01/01/70 00:00 | |
Picture![]() | 01/01/70 00:00 |