Initial support for the x3

This commit is contained in:
Justin Mitchell
2026-02-12 16:16:54 -05:00
parent 0991782fb4
commit cbea838f91
8 changed files with 102 additions and 31 deletions
+7
View File
@@ -253,6 +253,13 @@ void onGoHome() {
}
void setupDisplayAndFonts() {
if (gpio.getDeviceType() == HalGPIO::DeviceType::X3) {
display.setDcPin(4);
display.setBusyActiveHigh(false);
display.setBwOnly(true);
display.setControllerType(EInkDisplay::ControllerType::SSD1677);
display.setDisplayDimensions(792, 528);
}
display.begin();
renderer.begin();
Serial.printf("[%lu] [ ] Display initialized\n", millis());