Two u8g2 displays, one affects the other

Wow, there goes my insufficient memory theory!

Can you post the latest version of the code please.

Sure, here you go

#define DCSBIOS_IRQ_SERIAL

//#define DCSBIOS_RS485_SLAVE 48
//#define TXENABLE_PIN 2

#include "DcsBios.h"
#include <U8g2lib.h>
#include <Wire.h>

const uint8_t u8g2_font_DSEG14J[7727] U8G2_FONT_SECTION("u8g2_font_DSEG14J") =
  "\340\0\5\5\5\6\6\6\7!\67\0\350\37\0\0\0\3\33\10\303\14\177 \6\0\0A\62!\6\0"
  "\0A\62\42\6\0\0A\62#\6\0\0A\62$\6\0\0A\62%\6\0\0A\62&\6\0\0A"
  "\62'\6\0\0A\62(\6\0\0A\62)\6\0\0A\62*\6\0\0A\62+\6\0\0A\62,"
  "\6\0\0A\62-\6\0\0A\62.\23H\21\221\346\20\12\61\214\360\201 \30\203(\302\0\0/\6"
  "\0\0A\62\60\211\376\36\221\362\310\310F\260c\225`P#\10\3>f \222(\4%\12A\201C"
  "P\240 \224\67\10\345\11Cq\303P\234@\224\66\20\245\11EaCQ\230`\224\65\30e\11'a"
  "\2:Z\240\12\27\254\201\7\37\304\3>\350\2\37(h\311\11\230b\4\246\30\201)e`J\21\232"
  "B\206\246\20\301)cp\312\20\236\42\206\247\10\1*a\200J\20\242\22\204\250\204@*!\220JE"
  "\256\61\246\21\210`T\350\62Y\311\4\0\61 \345\345\231\362\10\306\20>\360\1&\20b\30\2\11f"
  "\60\4\61\204\17|\300\12\204\30F\20\0\62>\376\36\221\362\310\310F\260c%j\4|\320D.\377"
  "\237&\366\300\205\221\24E\4b\31\314h\202\63\226\301\210@$E\31\2\37\66\241\213\134\376\377\62\241"
  "\207\61\231`T\350\62Y\311\4\0\63=\375&\221\262\310\306\66\60c!j\4{\310\4.\377_&"
  "\364\260\5\221\24E\4a\31\214h\202#\226\301\220\244(\42\330\202\36\62\201\313\377_&\364P\246\21"
  "\224\352\134%#\231\0\0\64\63\376\35\231r\10t\20\6|\330\204\252\377G\23{\340B\17\42)\212"
  "\10\304\62\230\321\4g,\203)IQD\300\205=h\42\227\377\77M\354\201\7\1\0\65>\376\36\221"
  "\362\310\310F\260c\225`Pe\330\204.r\371\177\231\320\303\26x \222\242\224e\60\243\11\316X\6"
  "S\222\242\210\200\13{\320D.\377\177\232\330\203\231F`*t\231\254d\2\0\66A\376\36\221\362\310"
  "\310F\260c\225`Pe\330\204.r\371\177\231\320\303\26x \222\242\224e\60\243\11\316X\6#\2"
  "\221\24E\14\272\300\207M\250\372\377\253\310\65\306\64\2\21\214\12]&+\231\0\0\67*|.\231r"
  "\310\304&\260b\35j\4z\300\304-\377\37&\362\240\205\35|\60\31h!\17\230\270\345\377\17\23y"
  "\320A\0\0\70C\376\36\221\362\310\310F\260c\225`P#\10\3>lB\325\377\243\211=p\241\7"
  "\221\24E\4b\31\314h\202\63\226\301\210@$E\21\203.\360a\23\252\376\377*r\215\61\215@\4"
  "\243B\227\311J&\0\71A\376\36\221\362\310\310F\260c\225`P#\10\3>lB\325\377\243\211="
  "p\241\7\221\24E\4b\31\314h\202\63\226\301\224\244(\42\340\302\36\64\221\313\377\237&\366`\246\21"
  "\230\12]&+\231\0\0:\6\0\0A&;\6\0\0A\62<\6\0\0A\62=\6\0\0A\62"
  ">\6\0\0A\62\77\6\0\0A\62@\6\0\0A\62A<\236\36\227\362\310\310F\260c\225`P"
  "#\10\3>lB\325\377\243\211=p\241\7\221\24E\4b\31\314h\202\63\226\301\210@$E\21\203"
  ".\360a\23\252\376\377*r\215\34\210\200\3BC\376\36\221\362\310\310F\260c\225`P#\10\3>"
  "lB\325\377\243\211=p\241\7\221\24E\4b\31\314h\202\63\226\301\210@$E\21\203.\360a\23"
  "\252\376\377*r\215\61\215@\4\243B\227\311J&\0C\63\375\36\221\362\310\306\66\60c\221`Pd"
  "\320D.p\371\177\230\310\203\26v\360\301l\300\205=h\42\27\270\374\377a\42\17c*\301\250\316U"
  "\62\222\5\0D\67\376\36\221\362\310\310F\260c\225`P#\10\3>lB\325\377\243\211=p\241\7"
  "\36|\20\17\370\240\13|\330\204\252\377\277\212\134cL#\20\301\250\320e\262\222\11\0E\77\375\36\221"
  "\362\310\306\66\60c\221`Pd\320D.p\371\177\230\310\203\26v \222\242\220e\60\242\11\216X\6"
  "\23\2\221\24E\10{\320D.p\371\377\303D\36\306T\202Q\235\253d$\13\0F\70\235\36\227\362"
  "\310\306\66\60c\221`Pd\320D.p\371\177\230\310\203\26v \222\242\220e\60\242\11\216X\6\23"
  "\2\221\24E\10{\320D.p\371\377\303D\36v\260\1G:\376\36\221\362\310\310F\260c\225`P"
  "e\330\204.r\371\177\231\320\303\26x\0\225\311D'\62\42\200\212\30t\201\17\233P\365\377W\221k"
  "\214i\4\42\30\25\272LV\62\1\0H\66\36\36\227r\10t\20\6|\330\204\252\377G\23{\340B"
  "\17\42)\212\10\304\62\230\321\4g,\203\21\201H\212\42\6]\340\303&T\375\377U\344\32\71\20\1"
  "\7\0I)\373.\221r\310\302\26\60b\31\352\3\252\260\345\377\357\16\71\370`.\310\303-l\371\377"
  "\357\3l:U\271F&\262\0\0J\63\376\36\221\362\310\310F\260c%j\4|\320D.\377\237&"
  "\366\300\205\36|\20\17\370\240\13|\330\204\252\377\277\212\134cL#\20\301\250\320e\262\222\11\0K\67"
  "X,\27\62( \372\217\21\243`\304(\30\61\212Y\66\31\306b\5#F\301\210Q\60b\24\214\30"
  "\5#F\301\210Q\60b\24\214\30\5#F\301\210Q@\64\70\0L+|\36\221r\10\364\220\11\134"
  "\334\362\377.\201\207,\350\340\203\311`\13z\310\4.n\371\377\273\4\36\306D\202Q\231\213d#\3"
  "M+\134,\27\62( ;\10\61x\214!C!FB\206B\214\204\14\205\30\11\31XB\6\226\220"
  "\201%d`\311-\233\351\377M\2NH\134,\27\62(f\272\331\274v/!\3K\310\300\22\62\260"
  "\204\14,!\3K\310\300\22\62\260\4\16\244\200\3)\340@\12F\214\204\21#a\304H\30\61\22F"
  "\214\204\21#a\304H\30\61\22F\214\204\21#\201l\360\0O\67\376\36\221\362\310\310F\260c\225`"
  "P#\10\3>lB\325\377\243\211=p\241\7\36|\20\17\370\240\13|\330\204\252\377\277\212\134cL"
  "#\20\301\250\320e\262\222\11\0P;\236\36\227\362\310\310F\260c\225`P#\10\3>lB\325\377"
  "\243\211=p\241\7\221\24E\4b\31\314h\202\63\226\301\210@$E\31\2\37\66\241\213\134\376\377\62"
  "\241\7\36p\0Q\61<-\21r\231\322\34)f\372\377w\313\30\61\22F\214\204\21#a\304H\30"
  "\61\22F\214\204\21#a\304H\30\61\22F\214\4\262\301\217\340\10\0R>\334,\27r\231\322\34)"
  "f\372\377\233P\71\10S\16\302\224\203\24\214\70\5#N\301\210S\60\342\24\214\70\5#N\301\210S"
  "\60\342\24\214\70\5#N\1\7R\300\201\24p \5\34\10\0S>\376\36\221\362\310\310F\260c\225"
  "`Pe\330\204.r\371\177\231\320\303\26x \222\242\224e\60\243\11\316X\6S\222\242\210\200\13{"
  "\320D.\377\177\232\330\203\231F`*t\231\254d\2\0T ;.\235r\310\302\26\60b\31\352\3"
  "\252\260\345\377\357\16\71\370`.\310\303-l\371\377\217\1U\60~\36\221r\10t\20\6|\330\204\252"
  "\377G\23{\340B\17<\370 \36\360A\27\370\260\11U\377\177\25\271\306\230F \202Q\241\313d%"
  "\23\0V@WT\27\362$\67\221\207\356\21d`\4\31\30A\6F\220\201\21d`\4\31\30A\6"
  "F\300\201\216 \61\10F\14\202\21\203`\304 \30\61\10F\14\202\21\203`\304 \30\61\10F\14\2"
  "\236\3W\71\134,\27\62(f\372\377\7\7R\300\201\24p \5\31\12\61\22\62\24b$d(\304"
  "H\310P\210\221\220\241\20\243A\304h\20\61\32D\214\6\21\243A\304h\30\34;\0X\71ST\27"
  "\62\34\7\17v\216\15d(\304\31\12q\206B\234\1\216}\320\32\12q\206B\234\241\20g(\304\31"
  "\12\61\10D\14\2\21\203@\304 \20\61\10D\14\202\235\261\1Y\36ST\27\62\34\7\17v\216\15"
  "d(\304\31\12q\206B\234\1\216\315\302\225\377\277\3\0ZD\373.\221r\310\302\26\60b\31\352\3"
  "T\310\2\36\335\1\17w\300\303\35\360p\7<\334\1\17X\310\301\7\177P\310\2\36a\1\217\260\200"
  "GX\300\3\26\262\200\7,d!\7\37\260\323\251\312\65\62\221\5\0[\6\0\0A\62\134\6\0\0"
  "A\62]\6\0\0A\62^\6\0\0A\62_\6\0\0A\62`\6\0\0A\62a\6\0\0A\62"
  "b\6\0\0A\62c\6\0\0A\62d\6\0\0A\62e\6\0\0A\62f\6\0\0A\62g\6"
  "\0\0A\62h\6\0\0A\62i\6\0\0A\62j\6\0\0A\62k\6\0\0A\62l\6\0\0"
  "A\62m\6\0\0A\62n\6\0\0A\62o\6\0\0A\62p\6\0\0A\62q\6\0\0A\62"
  "r\6\0\0A\62s\6\0\0A\62t\6\0\0A\62u\6\0\0A\62v\6\0\0A\62w\6"
  "\0\0A\62x\6\0\0A\62y\6\0\0A\62z\6\0\0A\62{\6\0\0A\62|\6\0\0"
  "A\62}\6\0\0A\62~\6\0\0A\62\177\6\0\0A \200\6\0\0A \201\6\0\0A "
  "\202\6\0\0A \203\6\0\0A \204\6\0\0A \205\6\0\0A \206\6\0\0A \207\6"
  "\0\0A \210\6\0\0A \211\6\0\0A \212\6\0\0A \213\6\0\0A \214\6\0\0"
  "A \215\6\0\0A \216\6\0\0A \217\6\0\0A \220\6\0\0A \221\6\0\0A "
  "\222\6\0\0A \223\6\0\0A \224\6\0\0A \225\6\0\0A \226\6\0\0A \227\6"
  "\0\0A \230\6\0\0A \231\6\0\0A \232\6\0\0A \233\6\0\0A \234\6\0\0"
  "A \235\6\0\0A \236\6\0\0A\62\237\6\0\0A\62\240\6\0\0A\62\241\6\0\0A\62"
  "\242\6\0\0A\62\243\6\0\0A\62\244\6\0\0A\62\245\6\0\0A\62\246\6\0\0A\62\247\6"
  "\0\0A\62\250\6\0\0A\62\251\6\0\0A\62\252\6\0\0A\62\253\6\0\0A\62\254\6\0\0"
  "A\62\255\6\0\0A\62\256\6\0\0A\62\257\6\0\0A\62\260\6\0\0A\62\261\6\0\0A\62"
  "\262\6\0\0A\62\263\6\0\0A\62\264\6\0\0A\62\265\6\0\0A\62\266\6\0\0A\62\267\6"
  "\0\0A\62\270\6\0\0A\62\271\6\0\0A\62\272\6\0\0A\62\273\6\0\0A\62\274\6\0\0"
  "A\62\275\6\0\0A\62\276\6\0\0A\62\277\6\0\0A\62\300\6\0\0A\62\301\6\0\0A\62"
  "\302\6\0\0A\62\303\6\0\0A\62\304\6\0\0A\62\305\6\0\0A\62\306\6\0\0A\62\307\6"
  "\0\0A\62\310\6\0\0A\62\311\6\0\0A\62\312\6\0\0A\62\313\6\0\0A\62\314\6\0\0"
  "A\62\315\6\0\0A\62\316\6\0\0A\62\317\6\0\0A\62\320\6\0\0A\62\321\6\0\0A\62"
  "\322\6\0\0A\62\323\6\0\0A\62\324\6\0\0A\62\325\6\0\0A\62\326\6\0\0A\62\327\6"
  "\0\0A\62\330\6\0\0A\62\331\6\0\0A\62\332\6\0\0A\62\333\6\0\0A\62\334\6\0\0"
  "A\62\335\6\0\0A\62\336\6\0\0A\62\337\6\0\0A\62\340\6\0\0A\62\341\6\0\0A\62"
  "\342\6\0\0A\62\343\6\0\0A\62\344\6\0\0A\62\345\6\0\0A\62\346\6\0\0A\62\347\6"
  "\0\0A\62\350\6\0\0A\62\351\6\0\0A\62\352\6\0\0A\62\353\6\0\0A\62\354\6\0\0"
  "A\62\355\6\0\0A\62\356\6\0\0A\62\357\6\0\0A\62\360\6\0\0A\62\361\6\0\0A\62"
  "\362\6\0\0A\62\363\6\0\0A\62\364\6\0\0A\62\365\6\0\0A\62\366\6\0\0A\62\367\6"
  "\0\0A\62\370\6\0\0A\62\371\6\0\0A\62\372\6\0\0A\62\373\6\0\0A\62\374\6\0\0"
  "A\62\375\6\0\0A\62\376\6\0\0A\62\377\6\0\0A\62\0\0\0\4\377\377\0";
  ;

//const uint8_t u8g2_font_DSEG14K[5581] U8G2_FONT_SECTION("u8g2_font_DSEG14K") =
const uint8_t u8g2_font_DSEG14L[6562] U8G2_FONT_SECTION("u8g2_font_DSEG14L") = 
  "\340\0\5\5\5\6\6\6\10\34\66\0\346\16\354\16\354\4\337\11\64\31\205 \6\0\0AO!\20\364"
  "#\31OE@\362\377>\370w>\320\1\42\14\316!;O@\30\364\377\14\1#\27\364#\31O@"
  "\30\362\377\377\77\363\201\17\10\206\374\377\77\363\201\16$TW$\31O\2\35\330 \14\221\10C$\302"
  "\20\211\60D\42\14\221\10C$\302\20\211\60D\42\14\221\10C$\302\20\211\60D\42\14\221\10C\64"
  "\350\300\32a\6E\230A\21fP\204\31\24a\6E\230A\21fP\204\31\24a\6E\230A\21\346"
  "\32\264\1\0%gW$\31O\2\35\330 \14\61\206A\30b\14\203\60\304\30\6a\210\61\14\302\20"
  "c\30\204!\306\60\10C\214a\20\206\30\303 \314a\10s\30\302\34\206\224\10C$\302\20\15:\60"
  "u\230\341\34f\70\207\31\316a\6\62\14\302\14d\30\204\31\310\60\10\63\220a\20f \303 \314@"
  "\206A\230\201\14\203\60\327\240\15\0&WW$\31O\2\35\330 \332\60\210\66\14\242\15\203h\303\31"
  "\324p\6\65\234A\15gP#\62\264\201\14m C\33\350\350\203\366@\206\61\234\201\14c\70\3\31"
  "\306p\6\62\214\201\14g\30\3\31\316\60\6\62\234a\14d\70\303\30\310\240\14\62(\203\14J\33\264"
  "\1\0'\11\304q;O\360\201\14(\21T$\31O\2#\24$\377\377\377\203\37\350\0)\27W$"
  "\31O\2\35\330\35\350\370\177\37\264\7:\376\321k\320\6\0*<\220C\37OC\214\301\20c\60\304"
  "\30\14\61\214A\14c\20\303\30\304\60\6\61\206\241\30\225\71\322\311| \32\212Q\33\303\70\306\60\216"
  "\61\214c\14\343\30\303 \206\61\210a\14b\14+\23\220C\37OC\60\362\377\314\7\42C\60\362\237"
  "\1\0,\15fA\37\317\61\66\214\61\276\1\0-\13p@\65O`\20\26\61\0.\21'\11\31\305"
  "!\20B\24\241\12\305 \210 \0/\25\220C\37\317\66\376\324\320F\37,\15mL\15m|\15\0"
  "\60v\331\25\31\317A\21\213P#\20\21\31h\1\3q\70! N\10H\33\2\322\4\201\260A "
  "L\30\310\32\6\262\4\202\250\201 J(H\32\12\222\4s(\341\24+P\2\13T\360\201\31\334\301"
  "\22'`\305\11\326Q\4\205\24A!dP\10\21\26\62\206\205\14\201!b`\210\20\32\22\206\206\4"
  "\301!ApH\10\36\22\202wL\203\12!\20\321\231\212E(\1\0\61\27D\275\35O\361\201\17\20"
  "B\30\241\25\214@\10\341\3\134\30\204\0\62\70\331\25\31\317A\21\213P&\332\202\35*\371\77;\14"
  "\303\34\42\30\7IB \22\261\10%\60!\20\7I\204p\7;X\242\222\377\253\203\35n \242\63"
  "\25\213P\2\0\63\65\330\35\31OA\15kP%\322B\35(\371\277:\10\303\34\42\20\7IB\20"
  "\22\261\4%\60\343 I\10n`\205:P\362\377\352`\205\21\231\211X\203\22\0\64-\371\24!\317"
  "\20\334\201\26\363\210\350\177\361\230E\60\314!\4q\220$\4\42\21\213P\2C\16\222\204\0\7W\260"
  "C%\377\317\16W\0\65\67\331\25\31\317A\21+\4\202\22C\210\310`\211J\376\257\16V\10\206\71"
  "F \16\222\22\213P\2C\16\222\204\0\7W\260C%\377\317\16W \321\231\212E(\1\0\66;"
  "\331\25\31\317A\21\213P#\20\21\31\354`\211J\376W\7+\4\303\34#\20\7I\211E(\201\11"
  "\201\70H\22\6K\320b\36\21\375_<\246A\205\20\210\350L\305\42\224\0\0\67!W%!\317@"
  "\11KP$\312\2\35&\371\77:\330\320\7\231\300\6U\240\303$\377\217\16U\0\70=\331\25\31\317"
  "A\21\213P#\20\21\31h\61\217\210\376\27\217Y\4\303\34B\20\7IB \22\261\10%\60!\20"
  "\7I\302`\11Z\314#\242\377\213\307\64\250\20\2\21\235\251X\204\22\0\71\71\331\25\31\317A\21\213"
  "P#\20\21\31h\61\217\210\376\27\217Y\4\303\34B\20\7IB \22\261\10%\60\344 I\10p"
  "p\5;T\362\377\354p\5\22\235\251X\204\22\0:\13\203#\37E\300|PH\0;\22\212C\37"
  "OC\376\277\17\210\341\214\221\341\214\357\0<\23\206\223\37\317\61~\303\30\243\17\240a\214\237\31\306\10"
  "=\15\64\42\31Ob\276\17~\343\3\35>\24\6C\37O\60\214\61\63\214\361\352\60F\303\30\343\33"
  "\0\77\27\367#\37O\2\35\330 \340\371\177pPJS\65b\222\377\22\0@>W$\31O\2\35"
  "\330 \340\371\177p\210\3\35\251\201\14c\70\3\31\306p\6\62\214\341\14d\30\3\31\316\60\6\62\234"
  "a\14d\70\303\30\310p\206\61\220A\31dP\6\31\224\66h\3\0A\33\367#\37O\2\35\330 "
  "\340\371\177\260!\306P\210\61\24b\14\2\236\377\340\0BTW$\31O\2\35X#\314\240\10\63("
  "\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63"
  "(\245\251\32a\6E\230A\21fP\204\31\24a\6E\230A\21fP\204\31\24a\6E\230A\21"
  "\346\32\264\1\0C\21T$\31O\2#\24$\377\377\377\203\37\350\0DRW$\31O\2\35X#"
  "\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203"
  "\42\314\240\10\63(b\222\231A\21fP\204\31\24a\6E\230A\21fP\204\31\24a\6E\230A"
  "\21fP\204\271\6m\0E\25T$\31O\2#\24$\377\17~\340\3\2$\377\301\17tF\24\364"
  "#\37O\2#\24$\377\17~\340\3\2$\377A\0G\35W$\31O\2\35\330 &\371\377\224\61"
  "\10e\14B\31\203\200\347\77x\15\332\0\0H\23\227#\37O@\300\363\377\340\65h\203\200\347\77\70"
  "\0I\21T$\31O\2\247\10H\376\377\377g>\320\1J\32\367#\31O:\376\37=\332\60\210\66"
  "\14\242\15\203\200\347\77x\15\332\0\0K\61\224#\37O@\264\363\247\206A\250a\20j\30\4$A"
  "E\251\24\241\206A\250a\20j\30\204\32\6\241\206A\250a\20j\30\204\32\6\321Nm\0L\17\364"
  "#\31O@@\362\377\377\77\370\201\16M(\227#\37O@\64\265\326\250\66\245\214\201\14\343\30\3\31"
  "\306\61\6\62\214c\14\352\30\203:\306\240\216I\6\317\177p\0N\77\227#\37O@\300\63\250\64\265"
  "v\214A\35cP\307\30\324\61\6u\214A\35cPG\33\6\321\206A\264a\20j\30\207\32\306\241"
  "\206q\250a\34j\30\207\32\306\241\206q\250a\34M\325\14O\26W$\31O\2\35\330 \340\371\377"
  "&\31<\377\301k\320\6\0P\33\367#\37O\2\35\330 \340\371\177\260!\306P\210\61\24b\14b"
  "\222\377&\0Q+W$\31O\2\35\330 \340\371\377&\231\32\306\241\206q\250a\34j\30\207\32\306"
  "\241\206q\250a\34j\30GS\65m\320\6\0R\65\367#\37O\2\35\330 \340\371\177\260!\306P"
  "\210\61\24b\14B\15\206P\203!\324`\10\65\30B\15\206P\203!\324`\10\65\30\242\15\203h\303"
  " \332\60\0S\30W$\31O\2\35\330 &\371\177\27:\260;\320\361\217^\203\66\0T\20\360C"
  "\37O\360\201\310\20\214\374\377\377\317\0U\32\367#\31O@\300\363\377\265a\20m\30D\33\6\1\317"
  "\177\360\32\264\1\0V\67\223C\37O\70\6\215f\326\206\61\250a\14j\30\203\32\306\240\206\61\250a"
  "\14jh\3\34\265a\14j\30\203\32\306\240\206\61\250a\14j\30\203\32\306\240\206\61\64\63W\61\227"
  "#\37O@\300\363\377\265a\20m\30D\33\6\61\6\62\214c\14d\30\307\30\310\60\216\61\220a("
  "g\30\312\31\206r\206\241\234a(\252\245\14X\63\220C\37\317\66\326\14e\246\206\61\220\301\14d\60"
  "\3\31\314\320F\37\360\3\31\314@\6\63\220\301\14d\30\303\31\306p\206\61\234a\14g\30\203\62\251"
  "\1Y\35\220C\37\317\66\326\14e\246\206\61\220\301\14d\60\3\31\314\320F\220`\344\377\31\0Z\34"
  "T$\31O\2\27\307\237\33\342\250\21\220\244\14b\336\31\342\230\33\342\370\332\7:[\24T$\31O"
  "\2#\224!\377\377\377\377\377\377\77\363\201\16\134\24\20C\37O\60\264\61\70\264\361>\310\14m\374\340"
  "\320F]RW$\31O\2\35X#\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60"
  "\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(b\222\231A\21fP\204\31\24a\6E\230"
  "A\21fP\204\31\24a\6E\230A\21fP\204\271\6m\0^!pA\37\317\61\220\301\14d\60"
  "\3\31\314@\206\61\234a\14g\30\303\31\306p\206\61(\223\32\0_\11t \31O\360\201\16`\15"
  "FA;O\60\214\61\63\214\361\0a\30W$\31O\2\35\330\35\350\370\77z\15\332 \340\371\17^"
  "\203\66\0b\26\367#\31O@L\362\377&\65h\203\200\347\77x\15\332\0\0c\20\64\42\31O\240"
  "\20\30Q \371\17~\240\3d\24\367#\31O:\376\37\275\6m\20\360\374\7\257A\33\0e\36W"
  "$\31O\2\35\330 \340\371\177\260!\306P\210\61\24b\14b\222\377&\65h\3\0f\24\364#\37"
  "O\2#\24$\377\17*J\245\10H\376\203\0g\36W$\31O\2\35\330 \340\371\177p \246c"
  "\20\343\30\304\270\3\35\377\350\65h\3\0h\30\227#\37O@L\362\377\246B\214\241\20c(\304\30"
  "\4<\377\301\1i\21\360C\37O\360\201\350\203_#\30\371\177\6\0j\24W$\31O\2\35\330\7"
  "\377o\15t\374\243\327\240\15\0k\61\224#\37O@\264\363\247\206A\250a\20j\30\4$AE\251"
  "\24\241\206A\250a\20j\30\204\32\6\241\206A\250a\20j\30\204\32\6\321Nm\0l\11\204s\37"
  "O\360\7&m)\327!\37O@\15\332 \14a\16C\230\303\20\346\60\204\71\14a\16C\230\303\20"
  "\346\60\204\71\14a\16C\230\303\20f\0n\24\327!\37O\240\20c(\304\30\12\61\6\1\317\177p"
  "\0o\21\67\42\31O@\15\332 \340\371\17^\203\66\0p\33\367#\37O\2\35\330 \340\371\177\260"
  "!\306P\210\61\24b\14b\222\377&\0q\32\367#\37O\2\35\330 \340\371\177p \246c\20\343"
  "\30\304\270\3\35\377\1r\16\324!\37O\240\20\30Q \371\17\2s\30W$\31O\2\35\330 &"
  "\371\177\27:\260;\320\361\217^\203\66\0t\23\220C\37OC\60\362\377\314\7\42C\60\362\237\1\0"
  "u\20\67\42\31O@L\62x\376\203\327\240\15\0v\15i\221\37O\60\14\363\33\303\60\3w(\327"
  "!\37O@L\262\61\220a\34c \303\70\306@\206q\214\201\14C\71\303P\316\60\224\63\14\345\14"
  "CQ-e\0x\63\220C\37\317\66\326\14e\246\206\61\220\301\14d\60\3\31\314\320F\37\360\3\31"
  "\314@\6\63\220\301\14d\30\303\31\306p\206\61\234a\14g\30\203\62\251\1y\27\367#\31O@\300"
  "\363\377\340@\240\3\273\3\35\377\350\65h\3\0z\30T$\31O\2\27\307\237\33\342\350\203\63C\34"
  "sC\34_\373@\7{\26T$\31O\2#\24$\377\17*J\245\10H\376\203\37\350\0|\11\204"
  "s\37O\360\7&}\30W$\31O\2\35\330\35\350\370\177\316\210\246;\320\361\217^\203\66\0~\65"
  "\227#\37O@L\262y\300\63H\214\241\21ch\304\30\32\61\206F\214\241\21c\370`c\344\206\61"
  "\270a\14n\30\203\33\306\340\206\61\270a\14n\30C\64\3\177\6\0\0A@\200\6\0\0A@\201"
  "\6\0\0A@\202\6\0\0A@\203\6\0\0A@\204\6\0\0A@\205\6\0\0A@\206\6\0"
  "\0A@\207\6\0\0A@\210\6\0\0A@\211\6\0\0A@\212\6\0\0A@\213\6\0\0A"
  "@\214\6\0\0A@\215\6\0\0A@\216\6\0\0A@\217\6\0\0A@\220\6\0\0A@\221"
  "\6\0\0A@\222\6\0\0A@\223\6\0\0A@\224\6\0\0A@\225\6\0\0A@\226\6\0"
  "\0A@\227\6\0\0A@\230\6\0\0A@\231\6\0\0A@\232\6\0\0A@\233\6\0\0A"
  "@\234\6\0\0A@\235\6\0\0A@\236!\327!]\317\63R\303\31\324p\6\65\234A\15g\64"
  "\224\63\14\345\14Ci\304$%\205\314H\2\237QW$\31O\2\35\330 \14\61\24C\14\305\20C"
  "\61\304h\6\61\232A\214f\20\243\31\304P\215c(\343\30\312\70\231c\34\346\30\207\271\6m\20C"
  "\31\307P\306\61\224q\14\325\70\206\62\216\241\214c(\343\30\312 F\63\210\321\14bh\203\66\0\240"
  "\6\0\0AO\241\21\360C\37O\360\201\350\203_#\30\371\177\6\0\242\25\364#\31OE@\362\377"
  "\314\7> \30\362\377\377\314\7:\243\30W$\31O\2\35\330 \340\371\177\260i\252FL\362\337\244"
  "\6m\0\244HW$\31O\2\35\330 \232ZkT\233R\306@\206q\214\201\14\343\30\3\31\306\61"
  "\6u\214A\35cP\307$\33\3\31\306\61\6\62\214c\14d\30\307\30\310\60\224\63\14\345\14C\71"
  "\303P\316\60\24\325R\332\240\15\0\245(\364#\31\317\70\216\14j \203\32\310\240\6\62\250\341\14d"
  "P\3\31\324@\6u\264\223\202\10L\21\220\374g>\320\1\246\11\204s\37O\360\7&\247hW$"
  "\31O\2\35\330 \332\60\210\66\14\242\15\203h\303\70\324\60\16\65\214C\15\343P\303 \306@\6C"
  "\214\201\14\206\30\3\31\14\61\216D\214#\21\343h\6\61\216A\214c\20C\15d\30\303\31\310\60\206"
  "\63\220a\14g \303\30\310p\206\61\220\341\14c \303\31\306@\206\63\214\201\14\312 \203\62\310\240"
  "\264A\33\0\250\13w ]O@\64U\63\0\251\64W$\31O\2\35\330 \232\372S\303\70\324\60"
  "\16\65\214\3\236M\62\65\214C\15\343P\303\70\324\60\16\65\214C\15\343P\303\70\324\60\216\246j\332"
  "\240\15\0\252,W$\31O\2\35\330 \232ZkT\233R\306@\206q\214\201\14\343\30\3\31\306\61"
  "\6u\214A\35cP\303\7\377\61j\320\6\0\253-\224#\37O@\264\363\247\206A\250a\20j\30"
  "\4$\237\32\6\241\206A\250a\20j\30\204\32\6\241\206A\250a\20j\30D;\265\1\254\22\323A"
  "\37O`\20c\30\304\30\6\61\346\0\307\177\255\13p@\65O`\20\26\61\0\256\67W$\31O\2"
  "\35\330 \340\371\377\214\62\10\243\14\302(\203\60\204\71\14a\16C\230\303\20\346\60\204\71\14a\16C"
  "\230\303\20\346\60\204\71\14a\16C\230k\320\6\0\257\11p@WO\360\201\10\260\27\227\42\65O\2"
  "\35\330 \340\371\177p \246c\20\343\30\304\30\0\261\24\364#\31OE@\362\377\24D`\212\200\344"
  "\77\363\201\16\262\30W$\31O\2\35\330\35\350\370\77z\15\332 &\371oR\203\66\0\263\30W$"
  "\31O\2\35\330\35\350\370\177\4:\260;\320\361\217^\203\66\0\264\10f@]O \1\265\24\224#"
  "\37O@\30\362\377\377\77\243\20\30Q \371\17\2\266R\367#\37O\2\35\330 \14a\16C\230\303"
  "\20\346\60\204Q\6a\224A\30e\20F\31\204\71\306a\216q\230c\34\346\30\207\71\306a\216q\230"
  "\201(M\65\11\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212"
  "\60\3\267\11\304q;O\360\201\14\270\14\307X\15\317A\32\7\31\21\0\271\24\211\223\37\317a~#"
  "\31\246\61\230\261\17\210\301\214\377\0\272\34W$\31O\2\35\330 \340\371\177p \246c\20\343\30\304"
  "\370\340\17Q\203\66\0\273-\223C\37O\70\6\215f\326\206\61\250a\14j\30\203\32\306\240\206\61\250"
  "a\14j\370@\37\324\60\6\65\214A\15cPF\63_\33\0\274\66\230#\237k@\264\365\227\210\201"
  "$b \211\30\10DA\202@\10\266\6E\234A\21gP\304\31\24A\206F\220\241\21dh\4\31"
  "\32A\206F\220\241\21dh\4\275,X$\231k\2!X=\342\371\65b\20\215\30D#\6AI"
  "\24#\64B\214A!cP\310\30\24\62\6\265\264\365\65\214\320\10\0\276<X$\231k\2!\30!"
  "\332\372K\304@\22\61\220D\14\4\242 A \4[\203\42\316\240\210\63(\342\14\212 C#\310\320"
  "\10\62\64\202\14\215 C#\310\320\10\62\64\214\320\10\0\277\24\364#\31OE@\362\377\214\242T\212"
  "\200\344\77\370\201\16\300!\267$\37OEL\322\35\350HA\7\66\10x\376\37l\210\61\24b\14\205"
  "\30\203\200\347\77\70\0\301\36W$\37ObDS\204\16l\20\360\374\77\330\20c(\304\30\12\61\6"
  "\1\317\177p\0\302&\267$\37OELR\63\310\240\14\62(\203\14\12:\260A\300\363\377`C\214"
  "\241\20c(\304\30\4<\377\301\1\303\60\267%\37\317\63R\303\31\324p\6\65\234A\15g\64\224\63"
  "\14\345\14C\371\340*t`\203\200\347\377\301\206\30C!\306P\210\61\10x\376\203\3\304\37W$\37"
  "O@\64U\63\10t`\203\200\347\377\301\206\30C!\306P\210\61\10x\376\203\3\305\35W$\37\317"
  "hF\240\3\33\4<\377\17\66\304\30\12\61\206B\214A\300\363\37\34\0\306+\364#\37O\2#\224"
  "!\377\377\377\63\12\201\21E\15\203P\303 \324\60\10\65\14B\15\203P\303 \324\60\10\65\14\242\235"
  "\332\0\307\30\24%\15O\2#\24$\377\377\377\203\37\350\24\1Im\210#\5\0\310\34\24%\31O"
  "E@\22\35\342\350@\4\42\24$\377\17~\340\3\2$\377\301\17t\311\32\264$\31Ob\70\223\203"
  "\10D(H\376\37\374\300\7\4H\376\203\37\350\0\312\42\24%\31OE@\222\62\310p\14\62\34\203"
  "\14\7\42\20\241 \371\177\360\3\37\20 \371\17~\240\3\313\35\267$\31O@\64U\63\10t`\203"
  "\230\344\377Mj\320\6\61\311\177\223\32\264\1\0\314\30\24%\31OE@\22\35\342\350@\4\246\10H"
  "\376\377\377g>\320\1\315\25\264$\31Ob\70\223\203\10L\21\220\374\377\377\317|\240\3\316\35\24%"
  "\31OE@\222\62\310p\14\62\34\203\14\7\42\60E@\362\377\377\77\363\201\16\317\30\267$\31O@"
  "\64U\63\10t`\215\230\344\377\377\177\211\32\264\1\0\320YW$\31O\2\35X#\314\240\10\63("
  "\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63"
  "\20e\14G\31\303Q\306\320\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10"
  "\63(\302\14\212\60\327\240\15\0\321\31\367#\37O\2\35\330\7\377=\205\30C!\306P\210\61\10x"
  "\376\203\3\322\34\27%\31OEL\322\35\350HA\7\66\10x\376\277I\6\317\177\360\32\264\1\0\323"
  "\31\267$\31ObDS\204\16l\20\360\374\177\223\14\236\377\340\65h\3\0\324!\27%\31OEL"
  "R\63\310\240\14\62(\203\14\12:\260A\300\363\377M\62x\376\203\327\240\15\0\325+\27&\31\317\63"
  "R\303\31\324p\6\65\234A\15g\64\224\63\14\345\14C\371\340*t`\203\200\347\377\233d\360\374\7"
  "\257A\33\0\326\32\267$\31O@\64U\63\10t`\203\200\347\377\233d\360\374\7\257A\33\0\327\63"
  "\220C\37\317\66\326\14e\246\206\61\220\301\14d\60\3\31\314\320F\37\360\3\31\314@\6\63\220\301\14"
  "d\30\303\31\306p\206\61\234a\14g\30\203\62\251\1\330\67W$\31O\2\35\330 \232\372S\303\70"
  "\324\60\16\65\214\303\20\346\60\204\71\14a\16e\14B\31\203P\306 \306\240\216\61\250c\14\352\30\203"
  "R\232\372\332\65h\3\0\331!\27%\31OEL\322\35\350\350\203\32\1\317\377\327\206A\264a\20m"
  "\30\4<\377\301k\320\6\0\332\36\267$\31ObD\323\7Q\2\236\377\257\15\203h\303 \332\60\10"
  "x\376\203\327\240\15\0\333&\27%\31OELR\63\310\240\14\62(\203\14\37\324\10x\376\277\66\14"
  "\242\15\203h\303 \340\371\17^\203\66\0\334\37\267$\31O@\64U\63>\350\20\360\374\177m\30D"
  "\33\6\321\206A\300\363\37\274\6m\0\335#PD\37O`(\323\7\245\241\215\232\241\314\324\60\6\62"
  "\230\201\14f \203\31\332\10\22\214\374\77\3\0\336$\364#\37O\2#T;\177j\30\204\32\6\241"
  "\206A@\362\215A\21cP\304\30\24\61\6u\264\363\65\0\337\35W$\31O\2\35\330 \340\371\377"
  "\224\61\10e\14B\31\203\200\347\77x\15\332\0\0\340\36\27%\31OEL\322\35\350HA\7v\7"
  ":\376\217^\203\66\10x\376\203\327\240\15\0\341\33\267$\31ObDS\204\16\354\16t\374\37\275\6"
  "m\20\360\374\7\257A\33\0\342#\27%\31OELR\63\310\240\14\62(\203\14\12:\260;\320\361"
  "\177\364\32\264A\300\363\37\274\6m\0\343.\27&\31\317\63R\303\31\324p\6\65\234A\15g\64\224"
  "\63\14\345\14C\371\340*t`w\240\343\377\350\65h\203\200\347\77x\15\332\0\0\344\35\267$\31O"
  "@\64U\63\10t`w\240\343\377\350\65h\203\200\347\77x\15\332\0\0\345\32\267$\31\317hF\240"
  "\3\273\3\35\377G\257A\33\4<\377\301k\320\6\0\346+\364#\37O\2#\224!\377\377\377\63\12"
  "\201\21E\15\203P\303 \324\60\10\65\14B\15\203P\303 \324\60\10\65\14\242\235\332\0\347\27\364\42"
  "\15O\240\20\30Q \371\17~\240S\4$\265!\216\24\0\350$\27%\31OEL\322\35\350HA"
  "\7\66\10x\376\37l\210\61\24b\14\205\30\203\230\344\277I\15\332\0\0\351!\267$\31ObDS"
  "\204\16l\20\360\374\77\330\20c(\304\30\12\61\6\61\311\177\223\32\264\1\0\352)\27%\31OEL"
  "R\63\310\240\14\62(\203\14\12:\260A\300\363\377`C\214\241\20c(\304\30\304$\377Mj\320\6"
  "\0\353\42\267$\31O@\64U\63\10t`\203\200\347\377\301\206\30C!\306P\210\61\210I\376\233\324"
  "\240\15\0\354\23\247t\37O@\14\322\31\310\350\203ib\220\377\67\0\355\17JD\37O`\20\323\7"
  "/\23\206\374\77\356\25\255D\37OC$\322\60H\212\14\37\374\24\221\310\377\33\0\357\23W$\37O"
  "@\64U\63>\370\277NL\362\377\22\0\360YW$\31O\2\35X#\314\240\10\63(\302\14\212\60"
  "\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63\20e\14G"
  "\31\303Q\306\320\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14\212\60\203\42\314\240\10\63(\302\14"
  "\212\60\327\240\15\0\361\31\367#\37O\2\35\330\7\377=\205\30C!\306P\210\61\10x\376\203\3\362"
  "\32\27%\31OEL\322\35\350\350\203\377\313\324\240\15\2\236\377\340\65h\3\0\363\27\267$\31Ob"
  "D\323\7\377/P\203\66\10x\376\203\327\240\15\0\364\37\27%\31OELR\63\310\240\14\62(\203"
  "\14\37\374_\246\6m\20\360\374\7\257A\33\0\365(\27&\31\317\63R\303\31\324p\6\65\234A\15"
  "g\64\224\63\14\345\14C\371\340\377_\241\6m\20\360\374\7\257A\33\0\366\30\267$\31O@\64U"
  "\63>\370\277I\15\332 \340\371\17^\203\66\0\367\25\220C\37\317\66\376\324\320F\37,\15mL\15"
  "m|\15\0\370\67W$\31O\2\35\330 \232\372S\303\70\324\60\16\65\214\303\20\346\60\204\71\14a"
  "\16e\14B\31\203P\306 \306\240\216\61\250c\14\352\30\203R\232\372\332\65h\3\0\371\31\27%\31"
  "OEL\322\35\350\350\203\377\313\304$\203\347\77x\15\332\0\0\372\26\267$\31ObD\323\7\377/"
  "\20\223\14\236\377\340\65h\3\0\373\36\27%\31OELR\63\310\240\14\62(\203\14\37\374_&&"
  "\31<\377\301k\320\6\0\374\26\267$\31O@\64U\63>\370\277I\16\236\377\340\65h\3\0\375\33"
  "\267$\31ObD\323\7Q\2\236\377\7\7\2\35\330\35\350\370G\257A\33\0\376$\364#\37O\2"
  "#T;\177j\30\204\32\6\241\206A@\362\215A\21cP\304\30\24\61\6u\264\363\65\0\377\35\267"
  "$\31O@\64U\63>\350\20\360\374\77\70\20\350\300\356@\307\77z\15\332\0\0\0\0\0\4\377\377"
  "\0";



//U8G2_SH1122_256X64_2_4W_SW_SPI OLED1(U8G2_R2, /* clock=*/19, /* data=*/18, /* cs=*/16, /* dc=*/17, /* reset=*/15);  // Enable U8G2_16BIT in u8g2.h

U8G2_SH1122_256X64_1_4W_SW_SPI u8g21(U8G2_R2, /* clock=*/12, /* data=*/11, /* cs=*/9, /* dc=*/10, /* reset=*/18);  // Enable U8G2_16BIT in u8g2.h

U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g22(U8G2_R0, /* clock=*/SCL, /* data=*/SDA, /* reset=*/U8X8_PIN_NONE);  // All Boards without Reset of the Display R3 refers to 270 deg text rotation

void onUhfFrequencyChange(char* newValue) {

  u8g21.firstPage();
  do {

    //u8g21.clearBuffer();
    //u8g2.setFont(u8g2_font_inb24_mr );
    u8g21.setFont(u8g2_font_DSEG14J);
    u8g21.setCursor(0, 60);
    u8g21.print(newValue);
  } while (u8g21.nextPage());
  //u8g21.sendBuffer();
}
DcsBios::StringBuffer<7> uhfFrequencyBuffer(0x1180, onUhfFrequencyChange);


void onUhfPresetChange(char* newValue) {
  u8g22.firstPage();
  do {

    //u8g22.clearBuffer();
    //u8g22.setFont(u8g2_font_inb24_mr );
    u8g22.setFont(u8g2_font_DSEG14L);
    u8g22.setCursor(35, 43);
    u8g22.print(newValue);
  } while (u8g22.nextPage());
  //u8g22.sendBuffer();
}
DcsBios::StringBuffer<2> uhfPresetBuffer(0x1188, onUhfPresetChange);

void setup() {
  u8g21.begin();
  u8g22.begin();

  DcsBios::setup();
}


void loop() {

  DcsBios::loop();
}

Cheers

Les

Are these buffers large enough?

DcsBios::StringBuffer<7> uhfFrequencyBuffer(0x1180, onUhfFrequencyChange);

DcsBios::StringBuffer<2> uhfPresetBuffer(0x1188, onUhfPresetChange);

Maybe try making them a few bytes larger.

For info I just tried replacing the "1" with "F" in the constructors with the same result.

As for the stringbuffer thing, I can't be certain but I suspect that it is an internal address for the data stream output from the game

Les

I didn't mean the 0x1180 part, I agree that looks like an address of some kind. I meant the <7> part. Increase that to <8> or more and the other to <3> or more.

Oh, right - well, that represents the number of Characters that are displayed, for instance the Frequency is six numbers and a decimal point in this format NNN.NNN
The Preset is a simple two digit number NN

If I change those, I need to make sure that the display format is maintained

Les

According to this page, it's the maximum length of the buffer. Increasing it won't change the display format.

@Lesthegringo this means I was wrong about the upload report. It does include the buffer memory.

The report is correct and the buffer size is included (because it is a static memory allocation).

The constructor
U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g22(U8G2_R0, /* clock=*/SCL, /* data=*/SDA, /* reset=*/U8X8_PIN_NONE);
looks a little bit strange. The HW constructor does not require clock and data arguments (they are fixed on AVR boards). Instead the constructor looks more like the SW variant. Can you try:
U8G2_SSD1306_128X64_NONAME_1_SW_I2C u8g22(U8G2_R0, /* clock=*/SCL, /* data=*/SDA, /* reset=*/U8X8_PIN_NONE);

Regarding the unwanted glyph: I had checked the initial code but didn't found any issue here.

Is there any picture in this thread? Maybe seeing the unwanted glyph would give another idea...

Oliver

1 Like

Ok, tried that (on the sketch for the MEGA) and it is the same

I have a picture of it but can't work out how to attach it, let me keep trying

Worked it out, please excuse the messy test wiring!

So, what is wrong? The two dots above the "y"?
Are you sure, that the font is correct?

Oliver

That glyph overwrites the two numbers that should be shown on that OLED, so if I refresh that parameter "22" appears, then when I refresh the 2.08" OLED that unwanted glyph appears

Cheers

Les

In the functions that refresh the displays, try copying newValue to a local char array, then using that in the firstPage() / nextPage() loop. It could be that DcsBios is altering the char array pointed to by newValue while the display is being refreshed.

Ok, let me look into how to do that

Cheers

Les

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.