Código simplificado, faltan grados, detenerse, columna.

Dependencies:   mbed mbed

Committer:
jiuk
Date:
Thu Sep 06 21:58:40 2018 +0000
Revision:
0:3a60cf1c28ca
Child:
1:78d5142da831
Intercambio de piezas, bajan pero sin parar, faltan los grados y salir de una columna determinada.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jiuk 0:3a60cf1c28ca 1 #ifndef MOGGO_H
jiuk 0:3a60cf1c28ca 2 #define MOGGO_H
jiuk 0:3a60cf1c28ca 3
jiuk 0:3a60cf1c28ca 4 #include "mbed.h"
jiuk 0:3a60cf1c28ca 5
jiuk 0:3a60cf1c28ca 6 #define C_TYPE 1
jiuk 0:3a60cf1c28ca 7 #define I_TYPE 2
jiuk 0:3a60cf1c28ca 8 #define L_TYPE 3
jiuk 0:3a60cf1c28ca 9 #define T_TYPE 4
jiuk 0:3a60cf1c28ca 10 #define S_TYPE 5
jiuk 0:3a60cf1c28ca 11
jiuk 0:3a60cf1c28ca 12 uint8_t FIG_C[11]={0b11000000,0b11000000,0,0,0,0,0,0,0,0};
jiuk 0:3a60cf1c28ca 13 uint8_t FIG_I[11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0};
jiuk 0:3a60cf1c28ca 14 uint8_t FIG_L[11]={0b10000000,0b10000000,0b11000000,0,0,0,0,0,0,0};
jiuk 0:3a60cf1c28ca 15 uint8_t FIG_T[11]={0b11100000,0b01000000,0,0,0,0,0,0,0,0};
jiuk 0:3a60cf1c28ca 16 uint8_t FIG_S[11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0};
jiuk 0:3a60cf1c28ca 17
jiuk 0:3a60cf1c28ca 18 #endif // MOGGO_H