View Single Post
  #1   Spotlight this post!  
Unread 10-02-2007, 19:45
brennerator brennerator is offline
Registered User
#1560
 
Join Date: Jan 2005
Location: Silicon Valley
Posts: 75
brennerator is an unknown quantity at this point
Rotating Servo HS322 over 90 degrees

Basically I have this servo and I want to rotate it along its entire range of motion. I have the default code, and I set pwm 11 for this servo.

if (p1_sw_trig ==1)
{
pwm11 = 255;
}
if (p1_sw_top == 1)
{
pwm11 = 0;

This is so that we can upshift and downshift....

Thanks.