C rotary encoder function for a Pic18 based off http://www.eevblog.com/forum/projects/rotary-encoders-new-polling-and-pin-interrupt-servicing-routines/msg1416552/ Built with Pic18F4550.
Your Name b0a1bd7cf9 Readme | 6 년 전 | |
---|---|---|
LICENSE | 6 년 전 | |
README.md | 6 년 전 | |
main.c | 6 년 전 | |
main.h | 6 년 전 |
C rotary encoder function for a Pic18 based off http://www.eevblog.com/forum/projects/rotary-encoders-new-polling-and-pin-interrupt-servicing-routines/msg1416552/ Built with Pic18F4550.
MPLAB Product Version: MPLAB X IDE v4.05. Compiler: XC8
Make a new project in Pic18 (see MPLAB_XC8_Getting_Started_Guide.pdf) Add main.c and main.h
Connect up programmer (I used a PicKit3) to dev board (I used SBC44UC from modtronix).
Connect LEDs to appropriate output pins (see code).
Use debugger as needed.