-
-
Save JeffersGlass/d00c403bf9163c991f80c4e3cf451373 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int num = 5; | |
void setup() { | |
Serial.begin(57600); | |
delay(1000); | |
Serial.print("Num is: "); | |
Serial.println(num); | |
aFunction(num); | |
Serial.print("Num is: "); | |
Serial.println(num); | |
aFunction(num); | |
} | |
void loop() { | |
} | |
void aFunction(int input){ | |
Serial.print("aFunction says first: "); | |
Serial.println(input); | |
input = input + 1; | |
Serial.print("aFunction says second: "); | |
Serial.println(input); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment