B4R Question Servo motor 360 degrees

Beja

Expert
Licensed User
Hi
Using this example I couldn't modify it rotate the servo in endless loop.
Any idea?

This is my try.
B4X:
Timer1_Tick
angleservo=servo1.read
If angleservo>
And angleservo <359 Then
servo1.Write(angleservo)
angleservo=angleservo +1
[CODE/]
End If
End Sub
 
Last edited:
Top