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
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
Attachments
-
5.9 KB Views: 11
Last edited: