This works:
void setup() {
int i = 25;
int* iPoint;
Serial.begin (9600);
iPoint = &i; // set the pointer to the address of i
Serial.print((unsigned int)iPoint); // try to print the address of i
}
void loop() {
}
This works:
void setup() {
int i = 25;
int* iPoint;
Serial.begin (9600);
iPoint = &i; // set the pointer to the address of i
Serial.print((unsigned int)iPoint); // try to print the address of i
}
void loop() {
}