View Single Post
  #2   Spotlight this post!  
Unread 07-02-2007, 21:10
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Re: Potentiometer Problems

Well, firstly, are you sure you have the wires connected correctly. There should be a diagram of some sort on the pot itself, that looks like this.

(1)__________________(3)
(2)_________|

If the diagram isn't on there, the offset pin on the pot will be number 2. Pin 1 goes to white, 2 to red, and 3 to black, on a PWM cable from an Analog Input.

Other than that, I don't use easyc and I couldn't tell you if that's the problem.
__________________
Code:
void function(void)
 {
  function();
 }