Código para o menu no LCD
Dependencies: mbed SDFileSystemSD TextLCD
Fork of TextLCD_HelloWorld2 by
Diff: main.cpp
- Revision:
- 49:ab4ab0924fd1
- Parent:
- 44:15968c7431c6
diff -r 15968c7431c6 -r ab4ab0924fd1 main.cpp --- a/main.cpp Mon Jun 11 23:38:52 2018 +0000 +++ b/main.cpp Tue Feb 26 00:56:55 2019 +0000 @@ -159,7 +159,7 @@ //função interrupt botão enter void botenter_press(void){ printf("ENTER!\n\r"); - printf("timer: %.3f\n\r", enter_debounce_timer.read()); + //printf("timer: %.3f\n\r", enter_debounce_timer.read()); if(enter_debounce_timer.read()>0.2){ penter = bot_enter; bot_enter = !bot_enter; @@ -174,8 +174,8 @@ //função interrupt botão cima void botcima_press(void){ printf("CIMA!\n\r"); - printf("timer: %.3f\n\r", cima_debounce_timer.read()); - printf("timer: %.3f\n\r", baixo_debounce_timer.read()); + //printf("timer: %.3f\n\r", cima_debounce_timer.read()); + //printf("timer: %.3f\n\r", baixo_debounce_timer.read()); if(cima_debounce_timer.read()>0.2){ pcima = bot_cima; bot_cima = !bot_cima;