Need help controlling a servo with a QTI line sensor
Hello all,
I have tried to migrate the QTI line sensor code with a standard Servo code but to no affect!·
Eventually I would need to control multiple servos on the PSC servo controller!
Not sure if a DO/LOOP would work better or a FOR/NEXT loop?!?!?
Does anyone out there have any code that migrates the movement of the servo going back and forth while checking for black or white "1 or 0" with the QTI line sensor?
Thanks in advance!
Joe
I have tried to migrate the QTI line sensor code with a standard Servo code but to no affect!·
Eventually I would need to control multiple servos on the PSC servo controller!
Not sure if a DO/LOOP would work better or a FOR/NEXT loop?!?!?
Does anyone out there have any code that migrates the movement of the servo going back and forth while checking for black or white "1 or 0" with the QTI line sensor?
Thanks in advance!
Joe
Comments
·· There is examples at the bottom of the following page.· Our Line Follower moved servos while looking for Black/White.· Please see the following linke.· I hope this helps.· Take care.
http://www.parallax.com/detail.asp?product_id=28108
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com