|
Engduino
3.1.0
A fun device for learning coding
|
Files | |
| file | EngduinoSD.cpp |
| file | EngduinoSD.h |
Classes | |
| class | EngduinoSDClass |
Macros | |
| #define | DEBUGG 0 |
| #define | PRINTLN(...) |
Functions | |
| EngduinoSDClass::EngduinoSDClass () | |
| Constructor. More... | |
| boolean | EngduinoSDClass::begin () |
| begin function - must be called before using other functions More... | |
| boolean | EngduinoSDClass::begin (const char *filepath, uint8_t mode) |
| begin function - must be called before using other functions More... | |
| boolean | EngduinoSDClass::open (const char *filepath, uint8_t mode) |
| open function More... | |
| boolean | EngduinoSDClass::close () |
| close function More... | |
| boolean | EngduinoSDClass::write (const String &) |
| write function More... | |
| boolean | EngduinoSDClass::writeln (const String &) |
| writeln function More... | |
| int | EngduinoSDClass::available () |
| available function More... | |
| uint8_t | EngduinoSDClass::read () |
| read function More... | |
| boolean | EngduinoSDClass::isAttached () |
| isAttached function More... | |
| boolean | EngduinoSDClass::isInitialized () |
| isInitialized function More... | |
| void | EngduinoSDClass::end () |
| end function More... | |
Variables | |
| EngduinoSDClass | EngduinoSD = EngduinoSDClass() |
| EngduinoSDClass | EngduinoSD |
This library aims to expose a subset of SD card functionality in the form of a higher level "wrapper" object.
The Engduino has a micro SD card slot. Maximum size of attached SD card is 4GB.
| int EngduinoSDClass::available | ( | ) |
available function
This function is used to check if there is still data to be read from file.
| boolean EngduinoSDClass::begin | ( | ) |
begin function - must be called before using other functions
This function performs the initialisation required by the sdfatlib library.
| boolean EngduinoSDClass::begin | ( | const char * | filepath, |
| uint8_t | mode | ||
| ) |
begin function - must be called before using other functions
This function performs the initialisation required by the sdfatlib library.
| boolean EngduinoSDClass::close | ( | ) |
close function
This function is used to close a file on the SD card.
| void EngduinoSDClass::end | ( | ) |
end function
Nothing to be done.
| EngduinoSDClass::EngduinoSDClass | ( | ) |
Constructor.
C++ constructor for this class. Empty.
| boolean EngduinoSDClass::isAttached | ( | ) |
isAttached function
This function is used to check if the SD card is plugged in.
| boolean EngduinoSDClass::isInitialized | ( | ) |
isInitialized function
This function is used to return the initialization status of the SD card.
| boolean EngduinoSDClass::open | ( | const char * | filepath, |
| uint8_t | mode | ||
| ) |
open function
This function is used to open a file on the SD card.
| uint8_t EngduinoSDClass::read | ( | ) |
read function
This function is used to read one character from opened file.
| boolean EngduinoSDClass::write | ( | const String & | str | ) |
write function
This function is used to write string to the file.
| boolean EngduinoSDClass::writeln | ( | const String & | str | ) |
writeln function
This function is used to write string to the file with "goto new line" (
) character.
1.8.9.1