Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4792

Beginners • Re: Falling edge detecion in gpiozero DigitalInputDevice

$
0
0
Yes, using the when_deactivated property in the gpiozero library is a proper equivalent for detecting a falling edge on the GPIO pin, similar to how you would use GPIO.add_event_detect with the RPi.GPIO library.

Statistics: Posted by richardlittle — Tue Oct 29, 2024 3:51 am



Viewing all articles
Browse latest Browse all 4792

Trending Articles