Shop OBEX P1 Docs P2 Docs Learn Events
Servo and BS1 — Parallax Forums

Servo and BS1

haunteddansionhaunteddansion Posts: 68
edited 2007-08-13 22:58 in BASIC Stamp
I am trying to make a servo turn slowly to 255 when pin7 =1 then when pin7 is =0·· , ·I want the servo to go back to home which is zero, what would the code look like?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-08-13 22:58
    First, what do you mean by "turn slowly to 255".

    Second, there's lots of stuff on controlling servos with a BS1 or BS2. Most of the stuff on the BS2 is applicable with minor differences to the BS1. Read "What's a Microcontroller?" from the Stamps in Class section of the downloads on the main Parallax site. Also read the robotics book from the same list.
Sign In or Register to comment.