Question
Asked November 6 2014

Community Question

I am trying to get a HC - SR04 Ultrasonic sensor to work off of ADC ports and having a little difficulty. Before I go any further into frustration - can you run this sensor off of ADC ports?
November 7 2014
Thanks, Alan. Makes sense, I will try that out. Where did you find that?
November 7 2014

Quote:

Where did you find that?


Scroll down after the script commands in the script reference to the right of any script window. Maybe 3/4 of the way through the page or so.

Alan
November 8 2014
@alan... I tried servo(1,D0,90) and it threw an error when I checked syntax... "This parameter requires 2 you have passed 3" or something like that... So instead of a comma after the first argument it should have been a period.... I guess I should have searched a little further... Thanks....:)
November 8 2014
You need a period, not a comma between the board number and the port.


1.d0,50 not 1,d0,50

Alan
November 9 2014
I should label this as resolved, thanks everyone for your responses. Richard answered my original question first so I'll give it to him. I'll start another post for using multiple v4,s as questions come up.