Arduino Code aR&D

Motor Configuration code:

// Run all motors at 35% for 2 seconds.

motorSpeed(4,35);

goFor(2);

 

// Brake all motors.

brake(4);

 

// Run all motors at 35% for 2 seconds.

motor speed(4,35);

goFor(2);

 

// Reverse all motors.

reverse(4);

 

// Brake all motors.

brake(4);

 

Propeller Configuration code:

// Run all motors at 30% for 4 seconds.

motorSpeed(4,30);

goFor(4);

 

// Reverse all motors.

reverse(4);

 

// Run all motors at 35% for 6 seconds.

motorSpeed(4,35);

goFor(6);

 

// Brake all motors.

brake(4);