Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 287 Bytes

File metadata and controls

18 lines (15 loc) · 287 Bytes

Servo Motor

  • ServoSet(pin, degree) - Sets servo motor connected to pin to a specific position
    pin: pin number
    degree: 0 to 180

Tip

Many servo motors need 5V to work.

@Loop
ServoSet(0,0)
Wait(1000)
ServoSet(0,180)
Wait(1000)
Goto Loop