Small interrupt problem :(

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

Moderator: Benj

Post Reply
lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Contact:

Small interrupt problem :(

Post by lordhex »

Image
How can i chose Trigger on rising edge? Or Trigger on falling edge?
I can only chose both edge :(
I think i am missing something :(

User avatar
Benj
Matrix Staff
Posts: 15008
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: Small interrupt problem :(

Post by Benj »

Hello,

As you click the pin it should toggle between the available states. If the only states that are appearing are for both edges then it is likely that this is all the chip supports.

In your interrupt macro you can read the pins and compare them with the last read using a variable to determine if the interrupt was triggered by a rising or falling edge.

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Contact:

Re: Small interrupt problem :(

Post by lordhex »

Thank's Ben you save me one more time.
This hobby is getting more fun when i learn much.

Post Reply