Main Site Documentation

Brainpad Servomotors: how to use it?


#1

I try to command a FS90R continuous servo with Brainpad with success but as functions are not yet documented. I think it could be usefull to put my result somewhere:

            BrainPad.ServoMotors.ServoOne.ConfigurePulseParameters(0.8,2.2);
            BrainPad.ServoMotors.ServoOne.ConfigureAsContinuous(true);
            BrainPad.ServoMotors.ServoOne.Set(50);

Motor runs and changes speed/driection following param passed in Set function .
FS90R can have pulse width from 700µs to 2300 µs. ConfigurePulseParameters function takes min and max time in ms. (I kept an arbitrary margin of 0.1).
Set takes a percentage value from -100 to 100.