ok

Dependencies:   mbed

Fork of 00_01LAB_matrix8x8_fig_tetris1 by Andres Cano

figuras.h

Committer:
acastiblancoc
Date:
2018-09-12
Revision:
6:2f42f0b53611
Parent:
5:819f043b99a5
Child:
11:edb5ee477f00

File content as of revision 6:2f42f0b53611:

#ifndef FIGURAS_H   
#define FIGURAS_H  

#include "mbed.h"

#define L_TYPE 0
#define S_TYPE 4
#define C_TYPE 3
#define T_TYPE 1
#define I_TYPE 2
#define NOVEN 1
#define PII 2
#define DOSSE 3
#define ZERO 0
#define UNO 1
#define DOS 2
#define TRES 3
#define CUATRO 4
#define CINCO 5
#define SEIS 6
#define SIETE 7
#define OCHO 8
#define NULL_TYPE 'N'

 uint8_t FIG_T [11]={0b01000000,0b11100000,0,0,0,0,0,0,0,0};
 uint8_t FIG_T1[11]={0b10000000,0b11000000,0b10000000,0,0,0,0,0,0,0};
 uint8_t FIG_T2[11]={0b11100000,0b01000000,0,0,0,0,0,0,0,0};
 uint8_t FIG_T3[11]={0b01000000,0b11000000,0b01000000,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_L1[11]={0b11100000,0b10000000,0,0,0,0,0,0,0,0,0};
 uint8_t FIG_L3[11]={0b10000000,0b11100000,0,0,0,0,0,0,0,0,0};
 uint8_t FIG_L2[11]={0b11000000,0b01000000,0b01000000,0,0,0,0,0,0,0};
 uint8_t FIG_I [11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0};
 uint8_t FIG_I1[11]={0b11100000,0,0,0,0,0,0,0,0,0};
 uint8_t FIG_I2[11]={0b10000000,0b10000000,0b10000000,0,0,0,0,0,0,0};
 uint8_t FIG_I3[11]={0b11100000,0,0,0,0,0,0,0,0,0,0};
 uint8_t FIG_S [11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0,0};
 uint8_t FIG_S1[11]={0b10000000,0b11000000,0b01000000,0,0,0,0,0,0,0};
 uint8_t FIG_S3[11]={0b10000000,0b11000000,0b01000000,0,0,0,0,0,0,0};
 uint8_t FIG_S2[11]={0b01100000,0b11000000,0,0,0,0,0,0,0,0};
 uint8_t FIG_C[11] ={0b11000000,0b11000000,0,0,0,0,0,0,0,0};
 uint8_t FIG_NULL[11]={0,0,0,0,0,0,0,0,0,0,0};

#endif //  FIGURAS_H