Ping))) and BOE-BOT
jeffrey morris
Posts: 52
I got a package from Parallax containing Ping))) sensor, Pololu motor controller, and a standard servo. After running the ping-demo program and finding out that it worked, how can I write a PBASIC program that causes the BOE-BOT to back up and turn when Ping))) sensor finds objects that blocks the BOE-BOT?
Comments
·· You would need to combine the code for both devices so that the PING code affects the operation of the motor controller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
RANDOM bitvar
just make sure that the variable is declared before using
Buenas yan Hafa Adai Mr. Savage, the whole ping commands are pretty confusing. In detail can you tell me about what exactly pings are supposed to do.
shoot par
Think of it as a Sonar in a Submarine. The Ping sends out a signal. When that signal hits something in its path it "bounces" back to the Ping giving you the reading.