SE AGREGÓ EL MOVIMIENTO EN LA MATRIZ DE TRIQUI SE AGREGO INTERRUPCION EN EL PROGRAMA

Dependencies:   mbed

def.h

Committer:
Camilokingxd
Date:
2018-05-31
Revision:
1:6fe876825b57
Parent:
0:1b7dd931c028

File content as of revision 1:6fe876825b57:

#define MEM_SIZE 5000 //TAMAÑO DE LA MEMORIA
#define MEM_TYPE uint32_t //MAYOR LINEA DE CODIGO VA A SER DE 32 BITS (PARA EL VERTEX ( FD 50 50 F0 )
#define MINPULSE 560 //PULSO PARA 0 GRADOS ( 0 mm )
#define MAXPULSE 2400 //PULSO PARA 180 GRADOS ( 50 mm )
#define MAXPOS 50 // EN mm
#define DRAW 50 // POSICION PARA DIBUJAR
#define NODRAW 0 // POSICION PARA NO DIBUJAR
#define CM_EJECUTAR 0Xff 
#define CM_GUARDAR 0Xfe
#define CM_SERVO 0Xfd
#define CM_SDRAW 0xfc
#define CM_SN0DRAW 0xfb
#define CM_END 0xfa
#define CM_STOP 0xf0
#define CM_MOTORSTEP 0xf9
#define STAN 1170// PASOS PARA RECORRER UN CUADRANTE
#define LEFT 0
#define RIGHT 1
#define FORWARD 2
#define BEHIND 3
#define PAUSE 0XF8
#define PLAY 0xF4