can prepare stuff

This commit is contained in:
2025-08-14 22:10:53 +02:00
parent 7a7f000743
commit 50b2e994ca
6 changed files with 204 additions and 117 deletions

View File

@@ -51,6 +51,7 @@ pub(crate) fn create_initial_board(
config: PlantControllerConfig,
esp: Esp<'static>,
) -> Result<Box<dyn BoardInteraction<'static> + Send>> {
println!("Start initial");
let mut general_fault = PinDriver::input_output(free_pins.gpio6.downgrade())?;
general_fault.set_pull(Pull::Floating)?;
general_fault.set_low()?;