I am starting my setup function with a Serial.print("I am starting"). It seems that nothing is being set up at all as you can see on the picture attached.
However, this only happens time to time with no apparent reasons. And when it launches properly, the setup is being rebooted in the middle of it for no reasons (but always at the same stage, after the SD set and before the wifi connection). It does so like twice (or in-definitively up until I unplug/replug the SD (however it should just fail and not reset)) before going through all the set up properly.
Is my hardware broken (it is brand new) ? Could it be linked to the code ? Any tips on how to solve it ?
Thanks
Nicolas
void setup not lauching
-
- Posts: 3
- Joined: Wed Aug 21, 2019 8:27 am
void setup not lauching
- Attachments
-
- Capture.JPG (37.61 KiB) Viewed 2675 times
Re: void setup not lauching
Have you set the correct speed with
Serial. begin(115200);
and use a small
delay(1000);
so you are sure the serial connection is ready before you start writing to it.
Serial. begin(115200);
and use a small
delay(1000);
so you are sure the serial connection is ready before you start writing to it.
Who is online
Users browsing this forum: akasaka_spk, Majestic-12 [Bot] and 72 guests