Alyson Castiblanco
/
00_01LAB_matrix8x8_fig_tetris
ok
Fork of 00_01LAB_matrix8x8_fig_tetris by
figuras.h@4:2bc5dfe058ef, 2018-09-04 (annotated)
- Committer:
- fabeltranm
- Date:
- Tue Sep 04 22:31:01 2018 +0000
- Revision:
- 4:2bc5dfe058ef
- Child:
- 5:819f043b99a5
EJEMPLO ENVIO FIGURAS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fabeltranm | 4:2bc5dfe058ef | 1 | #ifndef FIGURAS_H |
fabeltranm | 4:2bc5dfe058ef | 2 | #define FIGURAS_H |
fabeltranm | 4:2bc5dfe058ef | 3 | |
fabeltranm | 4:2bc5dfe058ef | 4 | #include "mbed.h" |
fabeltranm | 4:2bc5dfe058ef | 5 | |
fabeltranm | 4:2bc5dfe058ef | 6 | #define L_TYPE 'L' |
fabeltranm | 4:2bc5dfe058ef | 7 | #define S_TYPE 'S' |
fabeltranm | 4:2bc5dfe058ef | 8 | #define I_TYPE 'I' |
fabeltranm | 4:2bc5dfe058ef | 9 | #define NULL_TYPE 'N' |
fabeltranm | 4:2bc5dfe058ef | 10 | |
fabeltranm | 4:2bc5dfe058ef | 11 | uint8_t FIG_L[11]={0b10000000,0b10000000,0b11000000,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 12 | uint8_t FIG_I[11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 13 | uint8_t FIG_S[11]={0b01100000,0b01000000,0b11000000,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 14 | uint8_t FIG_NULL[11]={0,0,0,0,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 15 | |
fabeltranm | 4:2bc5dfe058ef | 16 | #endif // FIGURAS_H |