B4R Question Servo motor 360 degrees

Beja

Expert
Licensed User
Longtime 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:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…