RuiViana

true_false.ino

Oct 27th, 2020
966
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //do something
  2. msg.print();
  3. if(msg.SerialNum == 10209204) { //if remote serial matches
  4. millisStart = CurTime;
  5. if(relayOn != true)
  6.    relayOn = true;
  7. else
  8.    relayOn = false;
  9. }
RAW Paste Data