Hi
I'm currently developing a flowchart using the RC5 e-block.
I have found that I can read the data and process it correctly, but if I hold the key (any one) on the remote handset down for a couple of seconds the program crashes.
The lcd display goes blank and I have to reset the programmer.
I have got round this by having the enable & disable macros either side of the RC5 collect data macro.
My suspicions are by keeping the button pressed on the handset, I'm "filling the input buffer" on the RC5 macro.
This way I can keep the same button pressed and the data is transmitted correctly.
I would just like to know if my thoughts are along the right lines.
Thanks
RC5 Crashing
- 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: RC5 Crashing
Hi John,
That's interesting, there is a while loop inside the RC5_CheckRX function which waits for the data to settle before it returns a value. I wonder if it is something to do with this. Glad you've got a workaround for it. I will have a dig in and see if I can get this sorted.
Any chance you can attach your program or send to me via a PM?
That's interesting, there is a while loop inside the RC5_CheckRX function which waits for the data to settle before it returns a value. I wonder if it is something to do with this. Glad you've got a workaround for it. I will have a dig in and see if I can get this sorted.
Any chance you can attach your program or send to me via a PM?
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