Small interrupt problem :(

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

Moderator: Benj

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Small interrupt problem :(

Postby lordhex » Mon May 18, 2015 8:59 pm

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: 14367
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4446 times
Been thanked: 4144 times
Contact:

Re: Small interrupt problem :(

Postby Benj » Tue May 19, 2015 10:13 am

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.
These users thanked the author Benj for the post:
lordhex (Tue May 19, 2015 11:29 am)
Rating: 5.26%
 

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Small interrupt problem :(

Postby lordhex » Tue May 19, 2015 11:29 am

Thank's Ben you save me one more time.
This hobby is getting more fun when i learn much.
These users thanked the author lordhex for the post:
Benj (Wed May 20, 2015 11:45 am)
Rating: 5.26%