mac-floppy-emu/floppy-emu-source-1.0L-F11/AVR/SdFat/examples/SD_Size/SD_Size.pde

24 lines
538 B
Plaintext
Executable File

/*
* Sketch to compare size of Arduino SD library with SdFat V2.
* See SdFatSize.pde for SdFat sketch.
*/
#include <SD.h>
File file;
//------------------------------------------------------------------------------
void setup() {
Serial.begin(9600);
if (!SD.begin()) {
Serial.println("begin failed");
return;
}
file = SD.open("TEST_SD.TXT", FILE_WRITE);
file.println("Hello");
file.close();
}
//------------------------------------------------------------------------------
void loop() {}