Andres Cano
/
00_01LAB_matrix8x8_fig_tetris1
alison castiblanco
Fork of 00_01LAB_matrix8x8_fig_tetris1 by
Revision 10:ae8cf84c82ca, committed 2018-09-13
- Comitter:
- acastiblancoc
- Date:
- Thu Sep 13 20:53:12 2018 +0000
- Parent:
- 9:f6536806c250
- Commit message:
- NUEVO
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Sep 13 20:05:40 2018 +0000 +++ b/main.cpp Thu Sep 13 20:53:12 2018 +0000 @@ -7,7 +7,7 @@ Serial command(USBTX, USBRX); #define DEBUG 1 -#define VELOCITY 1000 // ms +#define VELOCITY 200 // ms @@ -21,13 +21,8 @@ #endif } -void clr_arr() -{ for(int i=0;i<5;i++) -{ - array[i]=0; - }} -int recibe (void) +uint32_t recibe (void) { char ini=command.getc(); while(ini!='<') @@ -627,15 +622,11 @@ int main() { init_display(); + debug_m("inicio"); while(1){ while(recibe()==0); new_read(); - for(int i=0;i<8;i++){ act_matrix(matrix_tmp); - imp_fig(); - //printMatrix(matrix_act); - //desplazar_fila(); - - } + imp_fig(); } }