mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 13:20:43 +08:00

Add support of dos shortname for sharedSD (mainly for Marlin) Add SDFat version in report for reference
23 lines
319 B
C++
23 lines
319 B
C++
#include <SPI.h>
|
|
#include "SdFat.h"
|
|
#include "sdios.h"
|
|
|
|
using namespace sdfat;
|
|
|
|
// create a serial output stream
|
|
ArduinoOutStream cout(Serial);
|
|
|
|
void setup() {
|
|
Serial.begin(9600);
|
|
|
|
// Wait for USB Serial
|
|
while (!Serial) {
|
|
SysCall::yield();
|
|
}
|
|
delay(2000);
|
|
|
|
cout << "Hello, World!\n";
|
|
}
|
|
|
|
void loop() {}
|