reading two encoders with atmega16

Fully featured AVR compilers available on Windows, Linux, and macOS.
Post Reply
Author
Message
ali genidy
Posts: 54
Joined: 03 Apr 2017 09:17

reading two encoders with atmega16

#1 Post by ali genidy » 10 May 2021 01:52

hi dear
i wrote a code to read two encoders usin INT0 & INT1 (i am using ATMIGA16 MCU )my code read encoders successful but only increment if i change the direction it increment too cannot change the direction
please can you see my code and tell me my mistakes ?
thank you
Attachments
Sw.rar
(80.81 KiB) Downloaded 64 times

Post Reply

Return to “AVR AI Compilers”