Do you have enough gpio's available to dedicate two pins per switch? If
so, just tie them in pairs, program one of the pair to interrupt high,
the other low.
On 3/17/25 14:18, Matteo Golin wrote:
Hello everyone,
I have an application wherein I am using a W5500-EVB Pico as the MCU for a
network controlled system. I need to connect
several switch inputs into this MCU. The switches are normally held high via
the RP2040's internal pullups, and pulled
low when flipped.
The problem I'm encountering is that it appears that the current RP2040 support
only allows for one type of interrupt
per pin: either rising edge or falling edge. I need to trigger on both rising
and falling edge to accurately track the
state of the switch. I'm wondering if anyone else has had a similar issue or
has suggestions about how I can resolve
this.
Thanks,