HelloWorld.ino 285 B

1234567891011121314151617181920
  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. yield();
  11. }
  12. delay(2000);
  13. cout << "Hello, World!\n";
  14. }
  15. void loop() {}