1

Topic: sending strings

I am trying to show a message on cellphone when a certain condition is met.
Tried to copy the example with temp reading but failed.
Can anyone help?

if (RemoteXY.switch_1 == 1)   {digitalWrite(13, HIGH); RemoteXY.led_1_r = (RemoteXY, 255) ;}
   if (RemoteXY.switch_1 == 0)   {digitalWrite(13, LOW); RemoteXY.led_1_r = (RemoteXY, 0) ;}
   if (RemoteXY.switch_2 == 1)   {digitalWrite(12, HIGH);RemoteXY.led_2_r = (RemoteXY, 255) ;}
   if (RemoteXY.switch_2 == 0)   {digitalWrite(12, LOW); RemoteXY.led_2_r = (RemoteXY, 0) ;}
   if (RemoteXY.switch_1 == 1 && RemoteXY.switch_2 == 1 && RemoteXY.switch_3 == 1 )  {digitalWrite(8, HIGH); Serial.println(RemoteXY.stat, "ARMED");}
   else {digitalWrite(8, LOW);}

2

Re: sending strings

Solved, through "how it works" smile