We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a41f43 commit 8ef9a63Copy full SHA for 8ef9a63
src/Servo-Motor-Module.h
@@ -13,6 +13,6 @@ void Servo2::move(int angle) {
13
servo.write(angle);
14
}
15
16
-void Servo2::attach() {
17
- servo.attach(this.servo);
+void Servo2::attach(int pin) {
+ servo.attach(pin);
18
0 commit comments