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.

17 lines
249B

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