Skip to content

Commit

Permalink
pca9685: Start with pin disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Nov 27, 2024
1 parent 179ac24 commit a3ac817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pca9685.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Pca9685DeviceBuilder {
let pin = Pin::new(self.oe_pin_number);
pin.export()?;
sleep(Duration::from_millis(30));
pin.set_direction(Direction::Low)?;
pin.set_direction(Direction::High)?;
pin
};

Expand Down

0 comments on commit a3ac817

Please sign in to comment.