Shop OBEX P1 Docs P2 Docs Learn Events
Quick Servo question — Parallax Forums

Quick Servo question

YourpalalYourpalal Posts: 2
edited 2007-06-26 20:17 in Learn with BlocklyProp
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

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-26 17:32
    Hello,

    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
  • YourpalalYourpalal Posts: 2
    edited 2007-06-26 20:17
    Thank you very much! Quick reply and just what i needed! thanks again
Sign In or Register to comment.