Wemos D1 R2 /mini /mini lite and interrupts.

Hi, I'm testing with the MPU6050 example that can be used along with "Processing", the one that can be found under:
File –> Examples –> MPU6050 –> Examples –> MPU6050_DMP6

I'm using a Wemos D1 R2 (also tested on D1 Mini and Mini "lite") with the same unexpected behaviour...

I wanted to use the D3 pin and the one receiving the interrupt but it did not work, also tested on the D4 with the same result, I moved then directly to the D7 pin (I don't remember why I skipped D5 and D6), and there it worked.

Does anyone know why the D3 and D4 pins did not work?

Thanks in advance.

I wanted to use the D3 pin and the one receiving the interrupt

Did you mean "as the one receiving"? If so, what makes you think that D3 is an external interrupt pin? I don't know that it isn't; I'm interested in why you think/how you know that it is.

Did you use the number (2) or the pin name (D2) to specify the interrupt pin? On Arduinos they are the identical but on ESPs they aren't.

Hi, Paul.

Yes I wanted to type "as" not "and".

Well, the wemos board wiki says that any pin but the D0 is interrupt capable, and D3 or D4 were the best options because of the Gy512 shield I have.

Isn't D3 interrupt capable?

Hi Pylon,

Thanks for the reply.

Yes, I knew of that, I've been using wemos boards for more than one year and I know that you have to use that constans (or the correct integer) not the number alone as they are not the same.