Topic: RemoteXY Communication Failure Watch dog
I am a new user of this brilliant App. One thing that I found wanting was a comms failure watchdog. So I wrote this script.
It works!!.
Insert this at the top of your void loop.
void loop()
{
RemoteXY_Handler ();
if (RemoteXY.connect_flag==0){
digitalWrite(PIN_SWITCH_1, LOW);
}
else
digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);
}