Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MPU6050_ GAMES
Diff: metrix_gyro.cpp
- Revision:
- 7:9544bf6370bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/metrix_gyro.cpp Mon Nov 19 02:11:43 2018 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+#include "moggo.h" //agrega la libreria que contiene las figuras.
+
+int main() {
+ //timer.attach(&attime, 0.1);
+ Games.test();
+ borrar();
+ //metrix=1; //inicia Jugando
+ //com_tar.putc(metrix);
+ while(1){
+ //cambiar_jugador();
+ if(metrix==1){
+ fichas();
+ buscar_fil();
+ cont=0;
+ // correr=command.getc(); //recibe el comando para orientar la ficha.
+
+ while (cont<fila){
+ //cambiar_jugador();
+ correr_fig();
+ dibujar(ficha,grados,ncolumna);
+ buscar_fil();
+ imp_mat();
+ wait_ms(VEL*2);
+ }
+ guardar_mat();
+ buscar_linea();
+ } //fin if
+ } //fin while
+ } //fin main
\ No newline at end of file