mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-10-21 07:51:08 +08:00
21 lines
295 B
C++
21 lines
295 B
C++
#include <SPI.h>
|
|
#include "SdFat.h"
|
|
#include "sdios.h"
|
|
|
|
// 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() {}
|