waterish_os_rev3_public/WaterishOS-core3.0/lcdcontrol.h

16 lines
271 B
C++

class disp {
public:
LiquidCrystal_I2C lcd(0x27, 16, 2);
int menu;
void setmenu(int mnp){
this->menu = mnp;
}
void drawmenu()
{
switch(this->menu)
case: '1':
this->lcd.print(" Waterish OS OK ");
}
};