Skip to content

Commit f93d47c

Browse files
committed
fix SCS0009 attach miss
1 parent 00df5e6 commit f93d47c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Stackchan_servo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ void StackchanSERVO::attachServos() {
3939
if (_servo_type == ServoType::SCS) {
4040
// SCS0009
4141
Serial2.begin(1000000, SERIAL_8N1, _init_param.servo[AXIS_X].pin, _init_param.servo[AXIS_Y].pin);
42+
delay(500);
4243
_sc.pSerial = &Serial2;
4344
_sc.WritePos(AXIS_X + 1, convertSCS0009Pos(_init_param.servo[AXIS_X].start_degree + _init_param.servo[AXIS_X].offset), 1000);
4445
_sc.WritePos(AXIS_Y + 1, convertSCS0009Pos(_init_param.servo[AXIS_Y].start_degree + _init_param.servo[AXIS_Y].offset), 1000);

0 commit comments

Comments
 (0)