You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
295B

  1. #include <SPI.h>
  2. #include "SdFat.h"
  3. #include "sdios.h"
  4. // create a serial output stream
  5. ArduinoOutStream cout(Serial);
  6. void setup() {
  7. Serial.begin(9600);
  8. // Wait for USB Serial
  9. while (!Serial) {
  10. SysCall::yield();
  11. }
  12. delay(2000);
  13. cout << "Hello, World!\n";
  14. }
  15. void loop() {}