View Single Post
  #2   Spotlight this post!  
Unread 08-02-2007, 23:44
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
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_1
#define ENABLE_ENCODER_2
#define ENABLE_ENCODER_3
#define ENABLE_ENCODER_4
#define ENABLE_ENCODER_5
#define ENABLE_ENCODER_6
3. Comment out any line that corresponds to an encoder you aren't using. For example, if you are only using encoders 1 and 3, you should make the section look like the following:

Code:
#define ENABLE_ENCODER_1
//#define ENABLE_ENCODER_2
#define ENABLE_ENCODER_3
//#define ENABLE_ENCODER_4
//#define ENABLE_ENCODER_5
//#define ENABLE_ENCODER_6
4. Re-compile. Voila!