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.
Fork of 01-04EntregaPrimerCorte by
Diff: mover.h
- Revision:
- 4:ba51736778e1
- Parent:
- 3:60722da62531
--- a/mover.h Fri Sep 07 03:42:26 2018 +0000 +++ b/mover.h Fri Sep 07 23:58:14 2018 +0000 @@ -6,13 +6,17 @@ #define MAXPOS 180 // en milimetros #define POSDRAW 50 #define POSNODRAW 10 - +#define ARRIBA 1700 +#define CENTRO 1300 +#define ABAJO 900 +#define ADELANTE 500 +#define ATRAS 2500 void init_servo(); void draw(); void nodraw(); void mover_ser(uint8_t motor, uint8_t pos); - - +void mover_par(uint8_t pares, uint8_t dir); +void centro(uint8_t pos_p); #endif // DRAW_H \ No newline at end of file
