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/encoders.h

Committer:
gerardo_carmona
Date:
2014-10-17
Revision:
3:bd16e43ad7be

File content as of revision 3:bd16e43ad7be:

#ifndef encoders_h 
#define encoders_h

#define encoder_rigth 1
#define encoder_left 2

void encoders_to_zero();
void falling_encoder_right(void);
void falling_encoder_left(void);
float encoder(int sensor_encoder);
void init_encoders();

#endif