25 pifacecad_lcd_backlight_on();
26 pifacecad_lcd_write(
"Chose option");
31 if(!pifacecad_read_switch(7)){
33 }
else if(!pifacecad_read_switch(5)){
35 tempMenu=currentMenu->
newMenu();
44 }
else if(!pifacecad_read_switch(4))
48 std::this_thread::sleep_for(std::chrono::milliseconds(300));
50 pifacecad_lcd_clear();
53 pifacecad_lcd_write(
"QUIT");
PiFaceControlAndView(QObject *parent=0)
void run()
Main eventloop.
void finished()
Emits when it wants to be terminated.