Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Having the I2C device missing (not connected) will halt/abort program execution with
the following error which halts program execution.
Error Line 140: Receive variable not found.
I need to trap this error BEFORE this halts program execution ... any suggestions?
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231
Posted: 04:44pm 05 Dec 2011
Copy link to clipboard
Print this post
Trapping errors revisited ...
The "Error Line 140: Receive variable not found" was
caused by not having a DIM RTCBuff(8) assigned.
The I2C should have timed-out and I could have used
"? "0=ok 1=nack 2=timeout"; MM.I2C" to pick up the I2C error.