Skip to content

Commit 49a2822

Browse files
authored
Update SERVO.ino
1 parent bead7aa commit 49a2822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Modules/SERVO/SERVO.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void setup() {
2525
M5.Lcd.setCursor(70, 100);
2626
M5.Lcd.print("Servo Example");
2727

28-
Wire.begin(21, 22, 100000);
28+
Wire.begin(21, 22, 100000UL);
2929
}
3030

3131
// addr 0x01 mean control the number 1 servo by us
@@ -56,4 +56,4 @@ void loop() {
5656
// Servo_write_angle(i, 180);
5757
}
5858
delay(1000);
59-
}
59+
}

0 commit comments

Comments
 (0)