Can someone please enlighten me.
I have an interrupt service routine, in which I reset & start the counter, do a delay, then read the counter and I get a value.
But when I only reset & start te counter, and read it, the 2nd time I go into the interrupt service routine (some 14ms later), the counter always reads zero...
Please take a look.
Q: is an interrupt cleared when an ISR is executed or does that have to be done by the user (the example does not show it);
Is a counter halted or reset when the contents is read?
Jan
RC5 receive functionality
-
- Posts: 82
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
Re: RC5 receive functionality
- Attachments
-
- eDD NECdec-4.fcfx
- (22.41 KiB) Downloaded 267 times
Last edited by jan.didden on Fri May 06, 2022 2:25 pm, edited 1 time in total.
-
- Valued Contributor
- Posts: 1453
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
Re: RC5 receive functionality
This seems to be running in two threads.. See my post at https://www.flowcode.co.uk/forums/viewt ... 6624#p6624 as to why this won't work...