void setup() {
// put your setup code here, to run once:
int mun = 3000;
int * per;
per = &mun;
int mun2 = mun;
Serial.begin(115200);
Serial.println(*per);
Serial.println(mun);
mun = 1000;
Serial.println(int(&per));
Serial.println(*per);
Serial.println(mun);
Serial.print(int(&mun));
Serial.println(int(&mun2));
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}