Data Sheet
4
www.kitronik.co.uk
27
STEP 2: Add the following code under the previous code.
STEP 3: Program button A to call this function like this:
NOTE: There is a pause to allow you to move your hand before the :MOVE
mini starts turning
Use this code to fine tune the ‘NumberOfDegreesPerSec’ so that the :MOVE
mini turns through 90 degrees. If the :MOVE mini turns too far try making
the value bigger.
WHAT THIS MEANS
Because we do not have position feedback from
the 360 degree servos we have to use time and
a knowledge of how fast the :MOVE mini is to
make the turn accurately.