Interrupt bug or?

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Interrupt bug or?

Post by jgu1 »

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
Attachments
Interrupt.fcfx
(7.08 KiB) Downloaded 196 times

viktor_au
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?

Post by viktor_au »

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.
Attachments
Mega2560_IntFromInt3(D3).fcfx
(11.99 KiB) Downloaded 187 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: Interrupt bug or?

Post by jgu1 »

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 :evil:
Now i found another pinout and see that you are rigth. To all apologize for the inconvenion. I am the bug. :D
I make a new test later today. Thank`s.

Br Jorgen

Post Reply