rpi_gpio
rpi_gpio copied to clipboard
event_detected() function
Hello, I would like to know the way to use event_detected() function and wait_for_edge() function Thanks in advance.
Granted it's 2 years on - I just picked this up and was hoping to use interrupt based reading of pins, but sadly those functions, while they exist in c, don't on the ruby side.
I'm currently not strong enough on the nativing bindings to understand how to connect them up yet. Maybe one day.