You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have a task, which waits on any of x GPIO pins falling edge. I'm not super deep into async Rust, so please forgive me if I'm overlooking something fundamental here.
There is the embassy-futures function select, which does what I want, but I can't call it on wait_for_falling_edge, as this function does not return a future. Internally, it uses a PinFuture and I think if it returned that future instead, it'd be possible to select multiple GPIO events.
The text was updated successfully, but these errors were encountered:
I'd like to have a task, which waits on any of x GPIO pins falling edge. I'm not super deep into async Rust, so please forgive me if I'm overlooking something fundamental here.
There is the embassy-futures function
select
, which does what I want, but I can't call it onwait_for_falling_edge
, as this function does not return a future. Internally, it uses a PinFuture and I think if it returned that future instead, it'd be possible toselect
multiple GPIO events.The text was updated successfully, but these errors were encountered: