Hi MM!
I have just tryed to use an Interrupt input in a project on an Arduino Mega r3. I have not managed to get it work. I have tryed with Int 4, 5 6 and none of them seemed to working.
therefor I created a Small testprogram. In my opinion, in the testprogram C1 should Go High when I activated the interrupt input. But it doesnt. Could you please have a look on my simple testprogram to check if I have done something wrong or if it is a bug in arduino. I know these int. input have been working earlyer. Please.
I have made a test with 2 different Arduino Mega.
Br Jorgen
Interrupt bug or?
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
-
- Posts: 367
- Joined: Fri Jan 26, 2018 12:30 pm
- Location: South Australia
- Has thanked: 45 times
- Been thanked: 63 times
- Contact:
Re: Interrupt bug or?
Hello jgu1
I checked the Mega2560 pins.
The Int pins are: D0,D1,D2,D3,E4,E5.
I tested the program by using the D3 pin.
It works.
I checked the Mega2560 pins.
The Int pins are: D0,D1,D2,D3,E4,E5.
I tested the program by using the D3 pin.
It works.
- Attachments
-
- Mega2560_IntFromInt3(D3).fcfx
- (11.99 KiB) Downloaded 187 times
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
Re: Interrupt bug or?
Hi Viktor!
Thank you for reply and test. I have googled the pinout for the Mega, and I see that it is totally different, wrong pinout
Now i found another pinout and see that you are rigth. To all apologize for the inconvenion. I am the bug.
I make a new test later today. Thank`s.
Br Jorgen
Thank you for reply and test. I have googled the pinout for the Mega, and I see that it is totally different, wrong pinout

Now i found another pinout and see that you are rigth. To all apologize for the inconvenion. I am the bug.

I make a new test later today. Thank`s.
Br Jorgen