Page 60 - Gartenbahn
P. 60

59


               216
               217       void OLED3 ()
               218       {
               219       tcaselect(2);
               220
               221              u8g2.firstPage();
               222              do {
               223              /******** Display erster Zug *********/
               224              u8g2.setFont(u8g2_font_7x14_tf);
               225              u8g2.drawStr(2, 13, "Gleis");
               226
               227              u8g2.setFont(u8g2_font_logisoso24_tr);
               228              u8g2.drawStr(2, 60, "02");
               229
               230              u8g2.setFont(u8g2_font_7x14_tf);
               231              u8g2.drawStr(50, 13, "Ziel:");
               232
               233              u8g2.setFont(u8g2_font_7x14_tf);
               234              u8g2.drawStr(50, 30, Ziel4[a4]);
               235
               236              u8g2.setFont(u8g2_font_7x14_tf);
               237              u8g2.drawStr(50, 47, "Abfahrt:");
               238
               239              u8g2.setFont(u8g2_font_7x14_tf);
               240              u8g2.drawStr(50, 64, Zeit4[a4]);
               241
               242              u8g2.drawFrame(0,30,35,33);
               243              /************************************/
               244              } while( u8g2.nextPage() );
               245              delay(50);
               246              }
               247
               248   /*****OLED-1,3Zoll am Anschluß 04 des MUX*************/
               249
               250       void OLED4 ()
               251       {
               252       tcaselect(5);
               253
               254              u8g2.firstPage();
               255              do {
               256              /******** Display erster Zug *********/
               257              u8g2.setFont(u8g2_font_7x14_tf);
               258              u8g2.drawStr(2, 13, "Gleis");
               259
               260              u8g2.setFont(u8g2_font_logisoso24_tr);
               261              u8g2.drawStr(2, 60, "04");
               262
               263              u8g2.setFont(u8g2_font_7x14_tf);
               264              u8g2.drawStr(50, 13, "Ziel:");
               265
               266              u8g2.setFont(u8g2_font_7x14_tf);
               267              u8g2.drawStr(50, 30, Ziel2[a2]);
               268
               269              u8g2.setFont(u8g2_font_7x14_tf);
   55   56   57   58   59   60   61   62   63   64   65