I am having problems with making a servo (a Turnigy TGY one, it's not with me and I forgot the model number. It's meant to turn max 90deg) turn 90 degrees only, on a Romeo V2.
Upon execution of the code, the servos spin a couple of rounds (presumably to get to pos 0?),suddenly stop, then proceed to go to 90 degrees.
What I wish to achieve:
Go to 90 degrees only, without the spinning around
I am using the following:
for(pos = 0; pos < 90; pos += 1)
I have also tried the following. But similar to the above, the servos start spinning from reset.
This is my first time programming so please bear with the clunky code. It's modified from a tutorial code with new additions.
The purpose is to build a robot which can achieve a series of tasks, one of which is collecting balls, and I'm lifting a ramp in order to do so.
I've provided the full code used, and it includes automated actions of the robot with the option to override with RC.