1
0
Fork 0

Add debug info for setup GPIO

This commit is contained in:
Alexander Böhm 2024-01-05 13:15:31 +01:00
parent 1af8be2aa1
commit 344dabf250
1 changed files with 1 additions and 0 deletions

View File

@ -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();