How to stop PWM signal?
hi. using servo move rather heavy solar panel. once set angle to, say, 45 degree, servo doesn't quite has strength move panel 45 degree , motor rotating, trying panel 45 degree.
my question is, possible turn off pwm signal once set angle 45 degree? if not, can using external circuit? (using nmos or whatever?)
my question is, possible turn off pwm signal once set angle 45 degree? if not, can using external circuit? (using nmos or whatever?)
code: [select]
#include <servo.h>
setup(){
servo myservo;
myservo.attach(3, 300, 1550);
}
loop(){
myservo.write(45);
delay(2000)
}
if stop servo refresh won't hold position.
if that's not issue can "detach" pin.
http://playground.arduino.cc/componentlib/servo
if that's not issue can "detach" pin.
http://playground.arduino.cc/componentlib/servo
Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > How to stop PWM signal?
arduino
Comments
Post a Comment