Hi,
What would be the 'best' way to count multiple pulses from switches that would occur at indeterminate times.
I'm guessing interrupts but how would you say 5, 10, 20 whatever switches
Thanks
Counting Switches
- 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: Counting Switches
Hello,
If you look on the page linked below there is an example named Counting multiple pulses using IOC, I believe this is the kind of thing you're looking for.
http://www.matrixtsl.com/wikiv7/index.p ... Interrupts
If you look on the page linked below there is an example named Counting multiple pulses using IOC, I believe this is the kind of thing you're looking for.
http://www.matrixtsl.com/wikiv7/index.p ... Interrupts
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