|
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();
}
|