Alyson Castiblanco
/
00_01LAB_matrix8x8_fig_tetris
ok
Fork of 00_01LAB_matrix8x8_fig_tetris by
figuras.h@5:819f043b99a5, 2018-09-08 (annotated)
- Committer:
- acastiblancoc
- Date:
- Sat Sep 08 03:46:46 2018 +0000
- Revision:
- 5:819f043b99a5
- Parent:
- 4:2bc5dfe058ef
ok
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 | |
acastiblancoc | 5:819f043b99a5 | 6 | #define L_TYPE 0 |
acastiblancoc | 5:819f043b99a5 | 7 | #define S_TYPE 4 |
acastiblancoc | 5:819f043b99a5 | 8 | #define C_TYPE 3 |
acastiblancoc | 5:819f043b99a5 | 9 | #define T_TYPE 1 |
acastiblancoc | 5:819f043b99a5 | 10 | #define I_TYPE 2 |
acastiblancoc | 5:819f043b99a5 | 11 | #define NOVEN 1 |
acastiblancoc | 5:819f043b99a5 | 12 | #define PII 2 |
acastiblancoc | 5:819f043b99a5 | 13 | #define DOSSE 3 |
acastiblancoc | 5:819f043b99a5 | 14 | #define ZERO 0 |
acastiblancoc | 5:819f043b99a5 | 15 | #define UNO 1 |
acastiblancoc | 5:819f043b99a5 | 16 | #define DOS 2 |
acastiblancoc | 5:819f043b99a5 | 17 | #define TRES 3 |
acastiblancoc | 5:819f043b99a5 | 18 | #define CUATRO 4 |
acastiblancoc | 5:819f043b99a5 | 19 | #define CINCO 5 |
acastiblancoc | 5:819f043b99a5 | 20 | #define SEIS 6 |
acastiblancoc | 5:819f043b99a5 | 21 | #define SIETE 7 |
acastiblancoc | 5:819f043b99a5 | 22 | #define OCHO 8 |
fabeltranm | 4:2bc5dfe058ef | 23 | #define NULL_TYPE 'N' |
fabeltranm | 4:2bc5dfe058ef | 24 | |
acastiblancoc | 5:819f043b99a5 | 25 | uint8_t FIG_T [11]={0b01000000,0b11100000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 26 | uint8_t FIG_T1[11]={0b10000000,0b11000000,0b10000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 27 | uint8_t FIG_T2[11]={0b11100000,0b01000000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 28 | uint8_t FIG_T3[11]={0b01000000,0b11000000,0b01000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 29 | uint8_t FIG_L [11]={0b10000000,0b10000000,0b11000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 30 | uint8_t FIG_L1[11]={0b11100000,0b10000000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 31 | uint8_t FIG_L3[11]={0b10000000,0b11100000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 32 | uint8_t FIG_L2[11]={0b11000000,0b01000000,0b01000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 33 | uint8_t FIG_I [11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 34 | uint8_t FIG_I1[11]={0b11100000,0,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 35 | uint8_t FIG_I2[11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 36 | uint8_t FIG_I3[11]={0b11100000,0,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 37 | uint8_t FIG_S [11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 38 | uint8_t FIG_S1[11]={0b10000000,0b11000000,0b01000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 39 | uint8_t FIG_S3[11]={0b10000000,0b11000000,0b01000000,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 40 | uint8_t FIG_S2[11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0}; |
acastiblancoc | 5:819f043b99a5 | 41 | uint8_t FIG_C[11] ={0b11000000,0b11000000,0,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 42 | uint8_t FIG_NULL[11]={0,0,0,0,0,0,0,0,0,0,0}; |
fabeltranm | 4:2bc5dfe058ef | 43 | |
fabeltranm | 4:2bc5dfe058ef | 44 | #endif // FIGURAS_H |