You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
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>FilemyFile;
voidsetup()
{
// 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.");
}
voidloop()
{
Serial.println("loop");
delay(500);
}
The text was updated successfully, but these errors were encountered:
Have a look the the following code:
If I don't add the
delay(500);
afterSerial.println("Setup");
then I don't see any output in the Serial Monitor. If I use another Serial Monitor it works.The text was updated successfully, but these errors were encountered: