You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write the example sketch to my ESP8266 board, Then it reboot all the time. I found that there is a strange problem when it ran to Serial.println(messageBuffer);
I comment it, and it works normally. I am not good at c++, so I haven't found the specific problem yet. And I'm not sure if sketch is the problem.
The text was updated successfully, but these errors were encountered:
The main problem I find when the board reboots is that theSerial.printtries to print null strings. In that case I've used the C conditional inline if like: Serial.println(messageBuffer?messageBuffer:"NULL")
I write the example sketch to my ESP8266 board, Then it reboot all the time. I found that there is a strange problem when it ran to Serial.println(messageBuffer);
I comment it, and it works normally. I am not good at c++, so I haven't found the specific problem yet. And I'm not sure if sketch is the problem.
The text was updated successfully, but these errors were encountered: