Page 51 - Gartenbahn
P. 51

50


               200
               201 u8g2.setFont(u8g2_font_7x14_tf);
               202 u8g2.drawStr(50, 13, "Ziel:");
               203
               204 u8g2.setFont(u8g2_font_7x14_tf);
               205 u8g2.drawStr(50, 30, Ziel[3]);
               206
               207 u8g2.setFont(u8g2_font_7x14_tf);
               208 u8g2.drawStr(50, 47, "Abfahrt:");
               209
               210 u8g2.setFont(u8g2_font_7x14_tf);
               211 u8g2.drawStr(50, 64, Zeit[4]);
               212
               213 u8g2.drawFrame(0,30,35,33);
               214 /************************************/
               215 } while( u8g2.nextPage() );
               216 delay(50);
               217 }
               218
               219 /***** Display 5*************/
               220
               221 void OLED5 ()
               222 {
               223 tcaselect(4);
               224
               225 u8g2.firstPage();
               226 do {
               227 /******** Display erster Zug *********/
               228 u8g2.setFont(u8g2_font_7x14_tf);
               229 u8g2.drawStr(87, 13, "Gleis");
               230
               231 u8g2.setFont(u8g2_font_logisoso24_tr);
               232 u8g2.drawStr(90, 60, "03");
               233
               234 u8g2.setFont(u8g2_font_7x14_tf);
               235 u8g2.drawStr(2, 13, "Ziel:");
               236
               237 u8g2.setFont(u8g2_font_7x14_tf);
               238 u8g2.drawStr(2, 30, Ziel[2]);
               239
               240 u8g2.setFont(u8g2_font_7x14_tf);
               241 u8g2.drawStr(2, 47, "Abfahrt:");
               242
               243 u8g2.setFont(u8g2_font_7x14_tf);
               244 u8g2.drawStr(2, 64, Zeit[2]);
               245
               246 u8g2.drawFrame(87,30,35,33);
               247 /************************************/
               248 } while( u8g2.nextPage() );
               249 delay(50);
               250 }
   46   47   48   49   50   51   52   53   54   55   56