Skip to content

Serial Plotter: first label is empty if there is a new line after the labels #9219

@sandeepmistry

Description

@sandeepmistry
Contributor

When using the following sketch:

void setup() {
  Serial.begin(9600);
  while (!Serial);

  Serial.println("aX,aY,aZ");
  Serial.println(); // <-- without this line the labels are fine
}

void loop() {
  Serial.print("0,0,0");
  Serial.println();

  delay(1000);
}

The aX label is lost in the Serial plotter:
Screen Shot 2019-09-13 at 10 03 57 AM

If the Serial.println(); line in setup is removed, all is good.

Activity

sandeepmistry

sandeepmistry commented on Sep 13, 2019

@sandeepmistry
ContributorAuthor

Update: if an empty line is present in loop() via Serial.println(); the first label also disappears.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @sandeepmistry@per1234

      Issue actions

        Serial Plotter: first label is empty if there is a new line after the labels · Issue #9219 · arduino/Arduino