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
Many servo motors need 5V to work.
@Loop
ServoSet(0,0)
Wait(1000)
ServoSet(0,180)
Wait(1000)
Goto Loop