Hello,
I’m having a problem with a Adafruit nRF52840 Feather Express. Sometimes the serial transmission doesn’t seem to work when I run this simple code:
#include <bluefruit.h>
void setup()
{
Serial.begin(115200);
while ( !Serial ) delay(10); // wait for native usb
Serial.print("Hello world");
}
void loop {}
9 times out of 10, the serial terminal does not display anything, and somethimes it works. When I put the Serial.prinln() in the loop with a delay. The serial message is displayed but the delay is in the middle of the message.
For example: Hel [delay] lo world Hello [delay] world H [delay] ello world
What I tried:
- Change the “Reopen Serial Monitor Delay” setting
- Change the baudrate of the bus
Does anyone have any idea where the problem might come from?
Thanks