![]() |
Disable Encoders Problem
This is the first year our team has used the encoders and we have discovered you need to disable any inactive encoders. Kevin's readme in the encoder project sais that instructions to disable encoders are in the encoder.h file. After checking the latest code, no instructions were found.
Are the instructions in another file or can someone give help on disabling the encoders. |
Re: Disable Encoders Problem
All you need to do is the following:
1. Open "encoder.h" 2. Find the lines that look like: Code:
#define ENABLE_ENCODER_1Code:
#define ENABLE_ENCODER_1 |
Re: Disable Encoders Problem
Quote:
|
Re: Disable Encoders Problem
Quote:
I would still recommend that he comment out the #defines in the header file. Doing so would both disable irrelevant interrupts, and eliminate code that won't be called anyway from the hex file. |
Re: Disable Encoders Problem
Quote:
|
Re: Disable Encoders Problem
Quote:
good luck, and if I can help, gimme a yell. -Q |
Re: Disable Encoders Problem
Quote:
|
Re: Disable Encoders Problem
Quote:
-Kevin |
Re: Disable Encoders Problem
Quote:
|
Thank you
Thanks for all the help.
|
Re: Disable Encoders Problem
Quote:
Quote:
|
| All times are GMT -5. The time now is 04:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi