Advertisement
RuiViana

MPS_Xor

Jul 12th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. char xpto;
  2.  
  3.  
  4. void setup() {
  5.   Serial.begin(9600);
  6.  
  7. }
  8.  
  9. void loop() {
  10.  
  11. //@00RD00000001
  12.  
  13. xpto = xpto ^ '@';
  14. xpto = xpto ^ '0';
  15. xpto = xpto ^ '0';
  16. xpto = xpto ^ 'R';
  17. xpto = xpto ^ 'D';
  18. xpto = xpto ^ '0';
  19. xpto = xpto ^ '0';
  20. xpto = xpto ^ '0';
  21. xpto = xpto ^ '0';
  22. xpto = xpto ^ '0';
  23. xpto = xpto ^ '0';
  24. xpto = xpto ^ '0';
  25. xpto = xpto ^ '1';
  26. Serial.println(xpto,HEX);
  27. while(1){}
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement