fixed error in example

digi-v2-tests
Chris 5 years ago
parent d30cec2c0e
commit 7d3c95bf7c

@ -74,7 +74,7 @@ fn main() {
busy.export().expect("busy export");
while !busy.is_exported() {}
busy.set_direction(Direction::In).expect("busy Direction");
busy.set_value(1).expect("busy Value set to 1");
//busy.set_value(1).expect("busy Value set to 1");
let busy_in = HackInputPin::new(&busy);
let dc = Pin::new(6); //pin 31 //bcm6

Loading…
Cancel
Save