Page 1 of 1

Falling edge

Posted: Tue Sep 28, 2010 8:00 pm
by foppa
How do you do to get flowcode read falling edge on button release .
Would only have a signal / pulse when I release the button
Foppa :shock:

Re: Falling edge

Posted: Tue Sep 28, 2010 8:15 pm
by medelec35
As a suggestion:
You could use select interrupt from Int using an interrupt component macro. Then select interrupt from falling edge form the component properties.
But you must have the button connected to +ve and the int pin, with a pull down resistor. At least I believe that will work?

Re: Falling edge

Posted: Wed Sep 29, 2010 4:03 pm
by foppa
Can you make an example of that.
A small program that shows the solution
8)

Re: Falling edge

Posted: Wed Sep 29, 2010 8:30 pm
by medelec35
Try This. I have not tested, so can't confirm will work.
Switch and resistor is connected to B0. This is common with quiet a few target devices.
intB0.jpg
intB0.jpg (152.57 KiB) Viewed 3406 times