dino_hasan
New Member
Anybody....please help me......
Anybody have program in C (using ATMEGA16) for counting???I use rotary encoder combined with optocoupler-U.
I use this for counting distance and speed for my robot.
It use keypad for input the distance, and the speed displayed in LCD.
In the program i've used interrupt overflow timer 1 for counter and interrupt overflow timer 2 for calculate the speed...it work but the data isn't correct with the real.
Anybody have program in C (using ATMEGA16) for counting???I use rotary encoder combined with optocoupler-U.
I use this for counting distance and speed for my robot.
It use keypad for input the distance, and the speed displayed in LCD.
In the program i've used interrupt overflow timer 1 for counter and interrupt overflow timer 2 for calculate the speed...it work but the data isn't correct with the real.