Quick Servo question
Yourpalal
Posts: 2
Hello i have the stamps in class parallax pcb with usb and the dedicated servo ports. I am just wondering what code needs to be inserted to explain to my BS2 that i wish to communicate with these, as well as how to communicate with them. I am using ports 1 and 2 (written as 12 and 13 on the board) what confuses me is that the servos have 12, 13, 14, 15, written next to them and there are already pins with these numbers. How do i distinguish between them? Thank you very much!
Comments
If you go through the “Robotics with the BOE-Bot” text at the following link (free download in PDF format) it will show you examples of controlling a servo using those connectors. The P12 through P15 lines go to both connections on the board. The way to distinguish is that if you’re using one of those pins at either connector you should not use it at the other connector. I hope this helps. Take care.
http://www.parallax.com/detail.asp?product_id=28125
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support