Fd (Full Speed Forward)
Sets the specified motor's speed to 100% in the forward direction. Only 1 motor can be specified at a time. The Handyboard supports motor numbers 1 to 4.
Syntax
- fd('Motor Number');
Example
- //Move Motors 1 & 2 Forward for 5 Seconds
- void main()
- {
- fd(1);
- fd(2);
- sleep(5.0);
- ao();
- }