Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Using incremental encoder to generate 0-359 Degrees Oshonsoft (NOTE: QEI SIM NOT SUPPORTED)

$
0
0
Hi,
I need a PIC input of 0 to 359Degrees from an optical encoder QEI.

I have programs that run in the Oshonsoft Simulator, but as the QEI of the PIC is not supported, they need an in program test count,
Here is a program, which includes it's own counting:
In the SIM use the Hardware UART and enter e,g, A359E359

I'm pretty sure it will work 'live' using the QEI of the PIC, but need those parts removing from the program, but as I can't simulate it, I'm a bit stuck.

Any help welcome.
Camerart

Viewing all articles
Browse latest Browse all 4923

Trending Articles