bachelorproef

Dependencies:   mbed C12832

lcd.cpp

Committer:
jonivdh
Date:
2020-03-24
Revision:
0:6c9daa430100
Child:
1:fda3af7f9bf7

File content as of revision 0:6c9daa430100:

#include "lcd.h"
//#include "menu.h"
//#include "C12832.h"
//C12832 lcd(D11, D13, D12, D7, D10);

//Menu newMenu;
//Interrupts interrupt(A2,A3,A4,A5,D4);

LCD::LCD () {
}

//void LCD::updateLCD () {
//
//    switch (interrupt.currentScreen){
//        case 1:
//        newMenu.chooseIP();
//        break;
//    }
//}
//
//void LCD::screen () {
//    if (interrupt.currentScreen != interrupt.nextScreen) {
//        interrupt.currentScreen = interrupt.nextScreen;
//        updateLCD();
//    }
//    if (interrupt.flagLeft || interrupt.flagRight) {
//        interrupt.currentScreen = interrupt.nextScreen;
//        updateLCD();
//    }
//}

//void LCD::printIP () {
//    lcd.cls();
//    lcd.locate(0,3);
//    lcd.printf("192.168.0. %d" , newMenu.lastnumberIP);
//    wait(2.0);
//    newMenu.chooseIP();
//}