tetris, envia figuras aleatorias, corre columnas, el temporizador de caida muestra falla, falta la comparacion lateral.
moggo.h@0:2b55edb1057b, 2018-10-01 (annotated)
- Committer:
- jiuk
- Date:
- Mon Oct 01 15:34:36 2018 +0000
- Revision:
- 0:2b55edb1057b
Tetris Para matriz 8x8, SPI comunicaci?n.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jiuk | 0:2b55edb1057b | 1 | #ifndef MOGGO_H |
jiuk | 0:2b55edb1057b | 2 | #define MOGGO_H |
jiuk | 0:2b55edb1057b | 3 | |
jiuk | 0:2b55edb1057b | 4 | #include "mbed.h" |
jiuk | 0:2b55edb1057b | 5 | |
jiuk | 0:2b55edb1057b | 6 | #define ALL_TYPE 1 |
jiuk | 0:2b55edb1057b | 7 | |
jiuk | 0:2b55edb1057b | 8 | 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 |
jiuk | 0:2b55edb1057b | 9 | |
jiuk | 0:2b55edb1057b | 10 | #endif // MOGGO_H |