Skip to content

Serial don't work in loop #19

Description

@noxmyn

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions