18F4431 Oshonsoft 360 DEG/REV compass Incremental encoder problem

Thread Starter

camerart

Joined Feb 25, 2013
3,730
Hi,
I'm trying to get a compass Incremental encoder to output 360DEG/REV on an 18F4431 programmed using Oshonsoft.

The IE outputs 0 to 359 4x/REV. This is using the 18F4431 QEI hardware.
Any ideas please?
Camerart.
 

Thread Starter

camerart

Joined Feb 25, 2013
3,730
Hi,
I changed the settings of the QEI for 4X360 = 1439, so now 1REV gives 0 to 1439.
I then divided the VARIABLE/4 to give 0 to 359/REV
Thanks to anyone who was thinking about this ;)
C.
 
Top