Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Serial Monitor no output #1402

Closed
klodoma opened this issue Jan 6, 2022 · 1 comment
Closed

Serial Monitor no output #1402

klodoma opened this issue Jan 6, 2022 · 1 comment
Labels
serial Issues with serial ports

Comments

@klodoma
Copy link

klodoma commented Jan 6, 2022

Have a look the the following code:

If I don't add the delay(500); after Serial.println("Setup"); then I don't see any output in the Serial Monitor. If I use another Serial Monitor it works.

#include <SPI.h>
#include <SD.h>
File myFile;
void setup()
{
  // Open serial communications and wait for port to open:
  // Serial.begin(9600);
  Serial.begin(9600);
  Serial.println("Setup");
  delay(500);

  Serial.print("Initializing SD card...");
  if (!SD.begin(10))
  {
    Serial.println("initialization failed!");
    while (1)
      ;
  }
  Serial.println("initialization done.");
}
void loop()
{
  Serial.println("loop");
  delay(500);
}
@gcampbell-msft
Copy link
Contributor

We just released a new version, 0.4.9, that contains a fix for this issue. Let us know if any more issues come up!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
serial Issues with serial ports
Projects
None yet
Development

No branches or pull requests

3 participants