Thingiverse
MG90s Servo Actuator
by BasilEnglish
17
Downloads
10
Likes
0
Makes
just print and enjoy, it may need a bit of filing depending on printer quality , here's is it working on youtube https://www.youtube.com/watch?v=0t_OpX1WtUw
code for it:
#include
Servo myservo; // create servo object to control a servo
// variable to read the value from the analog pin
void setup() {
myservo.attach(7); // attaches the servo on pin 9 to the servo object
}
void loop() {
// scale it to use it with the servo (value between 0 and 180)
myservo.write(1
code for it:
#include
Servo myservo; // create servo object to control a servo
// variable to read the value from the analog pin
void setup() {
myservo.attach(7); // attaches the servo on pin 9 to the servo object
}
void loop() {
// scale it to use it with the servo (value between 0 and 180)
myservo.write(1
Makes
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign in