Running some code to test mesh stability and a work around when it goes down I ran into some issues when I added the Adafruit oled display. It manifested itself when my indicator LEDs were not working correctly anymore.
After some head-scratching I discovered that display.display() takes between 67 and 71ms. That seems awfully long. The commands before that to clear and write to the display take much less than a millisecond.
Not sure where in the library to look to find that long delay
I am running this on a Xenon using the featherwing oled display mounted on a featherwing tripler. It is the only peripheral.
display.clearDisplay(); display.setTextSize(1); display.setTextColor(WHITE); display.setCursor(0,0); display.println("HB Count " + String(heartbeatCount)); display.setCursor(0,8); display.println("Display Update Time " + String(displayTime)); // up to here is less than a millisecond displayTimer = millis(); display.display(); // this call takes 67 to 71 milliseconds to complete displayTime = millis() - displayTimer;