Advertisement
RuiViana

Menu_Dsp.cpp

Aug 7th, 2015
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. #include "Arduino.h"
  2. #include "Menu_Dsp.h"
  3.  
  4. // ------------------------------- Execução ---------------------------
  5. void Menu_Dsp::Execucao()
  6. {
  7. lcd.setCursor(0, 0);
  8. lcd.print(Index_Nivel+0);
  9. lcd.print(" ");
  10. lcd.print(Sub_Nivel+0);
  11. lcd.print(" ");
  12. lcd.print(Step+0);
  13. lcd.print(" ");
  14. }
  15. // ------------------------------- Display Menu ---------------------------
  16. void Menu_Dsp::DSP_Menu()
  17. {
  18. lcd.clear();
  19. lcd.setCursor(6, 0);
  20. lcd.print(MeuMenu);
  21. lcd.setCursor(0, 1);
  22. lcd.print(" 0 0 0 0");
  23. }
  24. // ------------------------------- Display Index ---------------------------
  25. void Menu_Dsp::Dsp_Index()
  26. {
  27. lcd.setCursor(6, 0);
  28. lcd.print(MeuMenu);
  29. lcd.setCursor(Pos, 1);
  30. lcd.print(" ");
  31. lcd.setCursor(Pos, 1);
  32. lcd.print(Step+0);
  33. lcd.setCursor(Pos, 1);
  34. lcd.blink();
  35. }
  36. // ---------------------------------- Display Sub_Menu ---------------------------
  37. void Menu_Dsp::DSP_Sub_Menu()
  38. {
  39. lcd.setCursor(Pos, 1);
  40. lcd.blink();
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement