Hi mackrackit and Henrik,
My PIC is 18F4431
I have success with 20MHz XTAL and define osc 20 , fuse HS.
I found motor with encoder with INDEX pin and little modific Hanrik code.
Result is 16 bit counter but I must find calculation becouse my encoder is 500 pulse per full rev of motor shaft.
Henrik you was give me good way for start with 18F4431..thanks man again.
Bookmarks