waterish_os_rev3_public/WaterishOS-core3.0/lcdcontrol.h

16 lines
271 B
C
Raw Normal View History

2019-08-10 12:18:20 +00:00
class disp {
public:
2019-08-10 13:11:36 +00:00
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 ");
}
};