|
Re: Ultrasonic analog input?
Thanks, tried that. It didn't work. I tried distance.getAverageVoltage()<=1 and distance.getAverageVoltage()*9.8<=6 but neither of those worked.
Am I doing something wrong? Using the slot 1 because it won't let me use slot 8. AnalogChannel distance=new AnalogChannel(1);
|