Guest User

Untitled

a guest
Oct 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. void setup() {
  2. // put your setup code here, to run once:
  3.  
  4. Serial.begin(9600);
  5.  
  6. Serial.print("X = ");
  7. Serial.println(SP,HEX);
  8. }
  9. void loop() {
  10. // put your main code here, to run repeatedly:
  11. Serial.print("BEFORE: ");
  12. Serial.println(SP,HEX);
  13. int y = 15;
  14. int z = y;
  15. int g = z + y;
  16. int dsf = z-y;
  17. Serial.println(dsf+g); //this should make these variables DO something...
  18. Serial.print(" After = ");
  19. Serial.println(SP,HEX);
  20. delay(1000);
  21. }
Add Comment
Please, Sign In to add comment