Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mover.h
- Revision:
- 1:59be7d7e1b54
- Parent:
- 0:73e805ecf765
--- a/mover.h Wed Oct 10 22:49:18 2018 +0000 +++ b/mover.h Tue Nov 20 01:48:09 2018 +0000 @@ -4,11 +4,15 @@ #define MAXPOS 180 // en milimetros //#define POSDRAW 50 //#define POSNODRAW 10 -#define ARRIBA 1700 +#define ARRIBA 600 #define CENTRO 1500 -#define ABAJO 600 -#define ADELANTE 720 +#define ABAJO 1700 +#define ADELANTE 800 #define ATRAS 2200 +#define UP 700 +#define DOWN 1500 +#define FRONT 1000 +#define BACK 1750 void init_servo(); void draw(); @@ -16,5 +20,7 @@ void mover_ser(uint8_t motor, uint8_t pos); void mover_par(uint8_t pares, uint8_t dir); void centro(uint8_t pos_p); +void direccion(uint8_t lado); +void arrancar(); #endif // DRAW_H \ No newline at end of file