Skip to content

Servo(SG90)

1. SetServo

參數

  • Pin : 2~21
  • Degree : 0~180

Sample

v5012.SetServo(6,90)

注意事項

SetServo 指令之間需要適當暫停,要給馬達有時間轉到定點