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

  1. fd('Motor Number');

Example

  1. //Move Motors 1 & 2 Forward for 5 Seconds
  2. void main()
  3. {
    1. fd(1);
    2. fd(2);
    3. sleep(5.0);
    4. ao();
  4. }