vibe-code wokwi display ch1115 integration

This commit was merged in pull request #55.
This commit is contained in:
2026-08-30 01:57:18 +02:00
parent aa7fc94068
commit 9ee4b68306
9 changed files with 217 additions and 15 deletions
+9 -8
View File
@@ -158,14 +158,7 @@ where
OutputConfig::default(),
));
let primary = PrimaryDisplayPinConfiguration {
spi_bus: bus_static,
cs: low_active(self.cs_primary),
reset: low_active(self.reset_primary),
dc: dc.clone(),
}
.build();
// Secondary displays must come first or they don't work in wokwi for some reason.
let secondaries = SecondaryDisplayPinConfiguration {
spi_bus: bus_static,
cs_pins: [
@@ -174,6 +167,14 @@ where
low_active(self.cs_secondary_3),
],
res: reset_secondary,
dc: dc.clone(),
}
.build();
let primary = PrimaryDisplayPinConfiguration {
spi_bus: bus_static,
cs: low_active(self.cs_primary),
reset: low_active(self.reset_primary),
dc,
}
.build();