FastLED 3.9.7
|
Definition at line 41 of file file_system.h.
Public Member Functions | |
bool | beginSd (int cs_pin) |
bool | begin (FsImplPtr platform_filesystem) |
void | end () |
FileHandlePtr | openRead (const char *path) |
Video | openVideo (const char *path, size_t pixelsPerFrame, float fps=30.0f, size_t nFrameHistory=0) |
bool | readText (const char *path, Str *out) |
bool | readJson (const char *path, JsonDocument *doc) |
bool | readScreenMaps (const char *path, FixedMap< Str, ScreenMap, 16 > *out, Str *error=nullptr) |
bool | readScreenMap (const char *path, const char *name, ScreenMap *out, Str *error=nullptr) |
void | close (FileHandlePtr file) |
fl::FileSystem::FileSystem | ( | ) |
Definition at line 96 of file file_system.cpp.
bool fl::FileSystem::begin | ( | FsImplPtr | platform_filesystem | ) |
Definition at line 85 of file file_system.cpp.
bool fl::FileSystem::beginSd | ( | int | cs_pin | ) |
Definition at line 76 of file file_system.cpp.
void fl::FileSystem::close | ( | FileHandlePtr | file | ) |
Definition at line 153 of file file_system.cpp.
void fl::FileSystem::end | ( | ) |
Definition at line 99 of file file_system.cpp.
FileHandlePtr fl::FileSystem::openRead | ( | const char * | path | ) |
Definition at line 155 of file file_system.cpp.
Video fl::FileSystem::openVideo | ( | const char * | path, |
size_t | pixelsPerFrame, | ||
float | fps = 30.0f, | ||
size_t | nFrameHistory = 0 ) |
Definition at line 156 of file file_system.cpp.
bool fl::FileSystem::readJson | ( | const char * | path, |
JsonDocument * | doc ) |
Definition at line 105 of file file_system.cpp.
bool fl::FileSystem::readScreenMap | ( | const char * | path, |
const char * | name, | ||
ScreenMap * | out, | ||
Str * | error = nullptr ) |
Definition at line 133 of file file_system.cpp.
bool fl::FileSystem::readScreenMaps | ( | const char * | path, |
FixedMap< Str, ScreenMap, 16 > * | out, | ||
Str * | error = nullptr ) |
Definition at line 113 of file file_system.cpp.
bool fl::FileSystem::readText | ( | const char * | path, |
fl::Str * | out ) |
Definition at line 167 of file file_system.cpp.