Hey everyone,
I have a project that is currently using Arduino MEGA 2560 because of its high pin count. I have decided that I'd like to try using RP2040 with a couple TCA9555 IO expander ICs instead.
I use the IRremote library and one snag that I came across is that its default configuration uses TIMER1 which conflicts with PWM on some of the pins I used. To resolve this I used #define IR_USE_AVR_TIMER5 to avoid this conflict.
Will something similar be possible with the RP2040? I know that MEGA2560 has more timers than regular Arduinos and I read that RP2040 does something different with timers.
I would be very appreciative if someone could offer some advice/words of wisdom on this, please.
Thanks @horace. I really only need 6 PWM outputs, does that mean I could dedicate the hardware timer to IRremote? Pi Pico seems to have plenty of GPIO pins for that, then the IO expanders could handle the button inputs and outputs to two ULN2003A relay driver ICs.