Small interrupt problem :(
Moderator: Benj
-
- Posts: 54
- Joined: Mon Dec 30, 2013 2:09 am
- Has thanked: 15 times
- Been thanked: 10 times
- Contact:
Small interrupt problem :(
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Small interrupt problem :(
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 54
- Joined: Mon Dec 30, 2013 2:09 am
- Has thanked: 15 times
- Been thanked: 10 times
- Contact:
Re: Small interrupt problem :(
Thank's Ben you save me one more time.
This hobby is getting more fun when i learn much.
This hobby is getting more fun when i learn much.