tetris, envia figuras aleatorias, corre columnas, el temporizador de caida muestra falla, falta la comparacion lateral.
Diff: moggo.h
- Revision:
- 0:2b55edb1057b
diff -r 000000000000 -r 2b55edb1057b moggo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/moggo.h Mon Oct 01 15:34:36 2018 +0000 @@ -0,0 +1,10 @@ +#ifndef MOGGO_H +#define MOGGO_H + +#include "mbed.h" + +#define ALL_TYPE 1 + + uint8_t FIG_ALL[7]={0b10000000,0b11000000,0b11100000,0b01000000,0b01100000,0,0b00100000};//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