Ao (All Off) Statement

Sets the speed of all motors to 0%.

Syntax

  1. ao();

Example

  1. //Use Motors 2 & 4 to turn sharply for 3 seconds.
  2. void main()
  3. {
    1. motor(2,95);
    2. motor(4,-95);
    3. sleep(3.0);
    4. ao();
  4. }