Código para o menu no LCD

Dependencies:   mbed SDFileSystemSD TextLCD

Fork of TextLCD_HelloWorld2 by Wim Huiskamp

Revision:
26:59081efdce79
Parent:
22:22ddb0b21d48
Child:
27:83d2a710cc2f
--- a/main.cpp	Tue May 15 19:47:37 2018 +0000
+++ b/main.cpp	Wed May 16 16:49:45 2018 +0000
@@ -28,7 +28,10 @@
 int cola;
 int exec;
 int select = 0;
-int pontos = 10;
+int pontos = 0;
+int salvar = 0;
+int maxpontos = 5;
+int home;
 
 //variáveis float
 float cx = 120.458;
@@ -78,7 +81,9 @@
             case 9: menu.executando(); break;
             case 10: menu.zerado(); break;
             case 11: menu.finalizado(); break;
+            //case 15: menu.gohome(); break;
             case 16: menu.limitepontos(); break;
+            case 17: menu.salvarprog(); break;
             }
         } 
     }