Advertisement
RuiViana

true_false.ino

Oct 27th, 2020
1,506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement