|
Ultrasonic Sensor output
Hi All,
I'm going to post this here because we are coding in easyC this year, so i'd like a usable code snippet if someone posts one...
We're using ultrasonic sensors for our autonomous mode this year, and I was wondering what type of data they output. I assume that it is probably the standard PWM 0-255; if this is the case, what is the correlation between distance and value? If it is another type of output, what is it?
I suppose I could slap it on last years robot (or an old RC) and do some tests, but I figured I would run it by the experts 'round these parts first!
Thanks in advance for any help,
Dillon Compton.
|