Código para o menu no LCD

Dependencies:   mbed SDFileSystemSD TextLCD

Fork of TextLCD_HelloWorld2 by Wim Huiskamp

Revision:
36:12d202855231
Parent:
35:11e3f3c8cb4e
Child:
39:fbad08986621
--- a/main.cpp	Mon May 28 21:41:49 2018 +0000
+++ b/main.cpp	Tue May 29 16:37:48 2018 +0000
@@ -11,6 +11,7 @@
 Timer enter_debounce_timer;
 Timer cima_debounce_timer;
 Timer baixo_debounce_timer;
+Timer tpontinhos;
 
 // Host PC Communication channels
 Serial pc(USBTX, USBRX); // tx, rx //não apagar
@@ -46,6 +47,7 @@
 int voltar = 0;
 int quebrar = 0;
 int f = 0;
+int limpar_cola = 0;
 
 //variáveis float
 float cx = 120.45;
@@ -99,6 +101,8 @@
             case 9: menu.executando(); break;
             case 10: menu.zerado(); break;
             case 11: menu.finalizado(); break;
+            case 12: menu.limpeza_livre(); break;
+            case 14: menu.limparcola(); break;
             case 15: menu.gohome(); break;
             case 16: menu.limitepontos(); break;
             case 17: menu.salvarprog(); break;
@@ -109,6 +113,12 @@
             case 22: menu.salva2(); break;
             case 23: menu.deletepoint(); break;
             case 24: menu.sempontos(); break;
+            case 25: menu.salvando_arq(); break;
+            case 26: menu.exec_auto(); break;
+            case 27: menu.indo_limpeza(); break;
+            case 28: menu.chegou_limpeza(); break;
+            case 29: menu.limpando(); break;
+            case 30: menu.limpeza_completa(); break;
             }
         } 
     }