Go Down

Topic: Ethernet shield - multiple connections (Read 3001 times) previous topic - next topic


Jul 05, 2012, 03:13 pm Last Edit: Jul 05, 2012, 05:15 pm by SurferTim Reason: 1
Ahh! That was the point! I was not testing originally for the pointer. It was a test to check how buffers overflowed into each other. I think you participated in that thread. The "terminating zero" in that "string" is testend.

edit: The testPTR between the test and test2 was an afterthought to see if it had allocated memory.
The way I see it, if memory was allocated, Serial.println(&test[6]) should have printed "test", not "123". That would have been Serial.println(&test[11]).

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131