forked from moke/spaceapi-tuerpie-nix
Add debug info for setup GPIO
This commit is contained in:
parent
1af8be2aa1
commit
344dabf250
|
@ -16,6 +16,7 @@ async fn main() {
|
|||
env_logger::init();
|
||||
|
||||
// setup
|
||||
log::debug!("Setup GPIO");
|
||||
let gpio = Gpio::new().unwrap();
|
||||
let pin = gpio.get(DOOR_PIN).unwrap().into_input();
|
||||
|
||||
|
|
Loading…
Reference in New Issue