First release.

Dependencies:   FXOS8700CQ SDFileSystem mbed

Final program

  • Controling a robot by Bluetooth, it is capable of making 90° turns and move pre-defined distances.

Code by:

  • Mayumi Hori
  • Sarahí Morán
  • Gerardo Carmona

my_libraries/motors.h

Committer:
gerardo_carmona
Date:
2014-11-07
Revision:
5:b384cf06de76
Parent:
3:bd16e43ad7be

File content as of revision 5:b384cf06de76:

#ifndef motors_h 
#define motors_h

// ----- Constants ------------------------------------------------------------------
#define FAST            100
#define SLOW            50

// ----- Functions ------------------------------------------------------------------
//void move_motors(char _move_command);               // Move motor function
void motor_fwd(int _power_left, int _power_right);
void motor_rev(int _power_left, int _power_right);
void motor_move_90(int direction);
void motor_left(int _power_left, int _power_right);
void motor_right(int _power_left, int _power_right);
void motor_stop();

#endif