first sketch for display layout

This commit is contained in:
Stefan 2020-08-31 20:31:46 +02:00
parent 53352ef28e
commit 4f56808d1c
1 changed files with 6 additions and 1 deletions

View File

@ -59,8 +59,13 @@ void loop(void) {
u8g2.firstPage();
do {
u8g2.drawLine(0,15,128,15);
u8g2.drawLine(64,16,64,48);
u8g2.drawLine(0,49,128,49);
u8g2.setFont(u8g2_font_ncenB10_tr);
u8g2.drawStr(0,24,"Hello World!");
u8g2.drawStr(0,11,"Ready to flow!");
u8g2.setFont(u8g2_font_ncenB18_tr);
u8g2.drawStr(0,47,"122°C");
} while ( u8g2.nextPage() );
//delay(1000);
}