Im a little confused here. I'm simply trying to read the value coming from my IR sensor (one of the Sharp IR ones).
The script I wrote should should be a simple loop and display the value, can continue to display the value until I tell it to stop.
$IRSensor = GetADC(ADC4)
# Sharp IR Sensor
It seems to run only a couple of times then stops. That's my issue, why it displays the values twice then stops. What am I missing?