Skip to content

Commit df962d2

Browse files
authored
Update Servo-Motor-Module.h
Signed-off-by: Adrian <[email protected]>
1 parent fcec3b9 commit df962d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Servo-Motor-Module.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
#include <Servo.h>
22

3-
class ServoMotor {
4-
public:
3+
struct ServoMotor {
54
int servo;
65
int angle;
76
move(int angle);
8-
};
7+
} ServoMotor;
98

109
Servo servo;
1110

0 commit comments

Comments
 (0)