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 jaren geleden | |
---|---|---|
LICENSE | 6 jaren geleden | |
README.md | 6 jaren geleden | |
main.c | 6 jaren geleden | |
main.h | 6 jaren geleden |
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.