sebastian martinez / Mbed 2 deprecated Movimiento_8Servos

Dependencies:   mbed

Fork of 01-04_Primer_Avance by sebastian martinez

Committer:
sebasmartinez
Date:
Sat Oct 06 17:45:42 2018 +0000
Revision:
5:6ca97bfe9406
Parent:
4:ba51736778e1
Programa Movimiento 1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fabeltranm 0:89b318e49395 1 #ifndef DRAW_H
sebasmartinez 5:6ca97bfe9406 2 //#define DRAW_H
fabeltranm 0:89b318e49395 3 #include "mbed.h"
sebasmartinez 3:60722da62531 4 #define MAXPOS 180 // en milimetros
sebasmartinez 5:6ca97bfe9406 5 //#define POSDRAW 50
sebasmartinez 5:6ca97bfe9406 6 //#define POSNODRAW 10
sebasmartinez 4:ba51736778e1 7 #define ARRIBA 1700
sebasmartinez 5:6ca97bfe9406 8 #define CENTRO 1500
sebasmartinez 5:6ca97bfe9406 9 #define ABAJO 600
sebasmartinez 5:6ca97bfe9406 10 #define ADELANTE 720
sebasmartinez 5:6ca97bfe9406 11 #define ATRAS 2200
fabeltranm 0:89b318e49395 12
fabeltranm 0:89b318e49395 13 void init_servo();
fabeltranm 0:89b318e49395 14 void draw();
fabeltranm 0:89b318e49395 15 void nodraw();
fabeltranm 1:526bdd5faa37 16 void mover_ser(uint8_t motor, uint8_t pos);
sebasmartinez 4:ba51736778e1 17 void mover_par(uint8_t pares, uint8_t dir);
sebasmartinez 4:ba51736778e1 18 void centro(uint8_t pos_p);
fabeltranm 0:89b318e49395 19
fabeltranm 0:89b318e49395 20 #endif // DRAW_H