as you can see, I commented on purpose everything else...I do not get any errors but Serial port freezes each time on the very beginning, as I figured out problem starts with defining String s variable, if I comment that everything is ok.
on the other hand, I have similar sketch that runs well:
Your first code won't even compile and link. No loop() and no setup(). When you post code that will, then perhaps we can help you.
String s = String(id_device);
A call to the constructor to create the String on the right. A call to the copy constructor to create the String on the left. Neither call is required.
PaulS:
Your first code won't even compile and link. No loop() and no setup(). When you post code that will, then perhaps we can help you.
full code is in attach
A call to the constructor to create the String on the right. A call to the copy constructor to create the String on the left. Neither call is required.