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