![]() |
Re: Encoder Problemo
The encoders need to be plugged into digital inputs 1 through 6. Those digital inputs are interrupt pins, and without interrupts, kevin's code doesn't work.
|
Re: Encoder Problemo
Ithink that we are wired correctly
Do we have to call any function besides Encoder Initialization oroutside the readme? |
Re: Encoder Problemo
Quote:
|
Re: Encoder Problemo
1 Attachment(s)
Here is a quick program I wipped up in easyC you can use to test your encoders.
Encoder 1 - Plug into I/O Port 1 (Channel A) Plug into I/O Port 7 (Channel B) Encoder 2 - Plug into I/O Port 2 (Channel A) Plug into I/O Port 8 (Channel B) Source: Code:
void OperatorControl ( void ) |
| All times are GMT -5. The time now is 00:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi