vibe-code wokwi display ch1115 integration
This commit was merged in pull request #55.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user