Quote:
Originally Posted by gunsanbob
which much easier to program
|
Easier than a single line?
Quote:
Originally Posted by eagleslg
oh, so it should just be one easy line..
im using kevin's code, so Get_Analog_Value does not exist,
|
So write your own. It is just a single line to get an analog value, same as getting the value of a potentiometer. The FRC conrtroller gives 10 bits (0-1023) so your answer is in 1/4 inch increments.
Quote:
|
Originally Posted by eagleslg
when i put my finger right on the sensor
|
Too close, try 2 or 3 inches minimum.