Hello
Thanks for the replies, very helpful, I didn't know about the Serial.printf. I've also found that the printf also works with the Adafruit_SSD1306 oled library.
display.clearDisplay();
display.setCursor(0,0);
display.printf("0b%s", btnsBinary);
display.setCursor(0,10)...