BlueMagic32
BlueMagic32 copied to clipboard
Serial don't work in loop
Output to the serial port does not work, after setup
#include <BlueMagic32.h>
void setup()
{
Serial.begin(115200);
while(!Serial);
//Serial.println("Test");
BMDConnection.begin("BlueMagic32");
BMDControl = BMDConnection.connect();
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello world!");
}
if you comment out the line, then “Hello world!” works
//BMDControl = BMDConnection.connect();
what am I doing wrong?