monorepo
This commit is contained in:
14
P1/smt4497-P1/smt4497-P1b.cpp
Normal file
14
P1/smt4497-P1/smt4497-P1b.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "smt4497-P1.h"
|
||||
|
||||
int ej1_8()
|
||||
{
|
||||
printf("Pulsa una tecla para salir \n");
|
||||
int contador = 0;
|
||||
int tecla = 0;
|
||||
printf("Tam. contador: %d bytes\n", sizeof(contador));
|
||||
while (tecla = 0)
|
||||
{
|
||||
printf("\r%d ", ++contador);
|
||||
tecla = esperaPulseTecla(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user