// Exercise 2.1 - exploring Scopes
int myVar = 10;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
int myVar = 5;
Serial.print("My local variable: ");
Serial.println(myVar);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("My global variable: ");
Serial.print(myVar);
delay(10000); // this speeds up the simulation
}