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?
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.
Comments
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.