julian alvarez
/
moggo
Código simplificado, faltan grados, detenerse, columna.
Diff: moggo.h
- Revision:
- 2:eac5a192998a
- Parent:
- 1:78d5142da831
diff -r 78d5142da831 -r eac5a192998a moggo.h --- a/moggo.h Mon Sep 10 20:19:56 2018 +0000 +++ b/moggo.h Wed Sep 12 17:09:26 2018 +0000 @@ -3,16 +3,8 @@ #include "mbed.h" -#define C_TYPE 1 -#define I_TYPE 2 -#define L_TYPE 3 -#define T_TYPE 4 -#define S_TYPE 5 +#define ALL_TYPE 1 - uint8_t FIG_C[11]={0b10000000,0b11000000,0b11100000,0b01000000,0b01100000,0};//FIG_C[0]=1; FIG_C[1]=11; FIG_C[2]=111; FIG_C[3]=01; FIG_C[4]=011 - uint8_t FIG_I[11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0}; - uint8_t FIG_L[11]={0b10000000,0b10000000,0b11000000,0,0,0,0,0,0,0}; - uint8_t FIG_T[11]={0b11100000,0b01000000,0,0,0,0,0,0,0,0}; - uint8_t FIG_S[11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0}; + uint8_t FIG_ALL[6]={0b10000000,0b11000000,0b11100000,0b01000000,0b01100000,0};//FIG_C[0]=1; FIG_C[1]=11; FIG_C[2]=111; FIG_C[3]=01; FIG_C[4]=011 #endif // MOGGO_H \ No newline at end of file