Interrupt pin on the RP2040 Connect

I need an IMU for a project I am working on. Initially tried to use the built-in IMU in the RP2040 connect. That works but the API seems too primitive for my needs. Consequently, I am thinking of using an external IMU, the MPU6050, which is an I2C device.

See this example: Build a Digital Level with MPU-6050 and Arduino | DroneBot Workshop

In order to use the MPU6050, I notice from sample code that the MPU6050 uses the INTERRUPT_PIN (ie digital pin 2) to indicate that data is ready. I would like to confirm that D2 is also the interrupt pin on the RP2040 Connect - thanks!

Ok, I think I have a more precise wording of my question after some more reading on the topic of interrupts for the RP2040 board.

I don't see the RP2040 Connect mentioned in the documentation for attachInterrupt(): attachInterrupt() - Arduino Reference

However, based on the similarities with the Nano 33 BLE, I assume that all pins can be used for interrupts so I will give it a try.

Hi,

Maybe Arduino recently updated this page but it is listed now based on the link you provided:

Nano RP2040 Connect all pins except A6/A7

Hope this helps-Brian

Thanks - As it happens, I did indeed try it out and it worked fine. But in any case, I'm glad the documentation has been updated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.