module:microcontroller:esp32sdcarddemo:esp32sdcarddemo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| module:microcontroller:esp32sdcarddemo:esp32sdcarddemo [2022/11/03 14:59] – [Überblick] omdevelop | module:microcontroller:esp32sdcarddemo:esp32sdcarddemo [2022/11/07 18:57] (current) – omdevelop | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[http:// | [[http:// | ||
| [[http:// | [[http:// | ||
| - | [[http:// | + | [[http:// |
| - | [[http:// | + | [[http:// |
| ===== Überblick ===== | ===== Überblick ===== | ||
| - | * Esp32SDCardDemo zeigt folgende in der Klasse CSDCard gekapselten File- und Directory-Funktionen: | + | * Permanentes Schreiben von Daten auf SDCard (/ |
| + | | ||
| + | * SubDirectories/ | ||
| + | * Esp32SDCardDemo zeigt folgende in der Klasse CSDCard gekapselten File- und Directory-Funktionen: | ||
| * || Instance | * || Instance | ||
| * CSDCard(int pinss, TMessage pmessage, TError perror); | * CSDCard(int pinss, TMessage pmessage, TError perror); | ||
| Line 100: | Line 103: | ||
| #endif // SDCard_h | #endif // SDCard_h | ||
| </ | </ | ||
| + | |||
| + | * Geschachteltes Anlegen von geschachtelten Verzeichnissen: | ||
| + | * (SubDirectories müssen Ebene für Ebene einzeln angelegt werden) | ||
| + | * (SubDirectories/ | ||
| + | < | ||
| + | const char* DIRECTORY_MAIN | ||
| + | const char* DIRECTORY_SUBYY | ||
| + | const char* DIRECTORY_SUBMM | ||
| + | const char* DIRECTORY_SUBDD | ||
| + | </ | ||
| + | | ||
| + | < | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.CreateDirectory(DIRECTORY_SUBYY); | ||
| + | // | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.CreateDirectory(DIRECTORY_SUBMM); | ||
| + | // | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.CreateDirectory(DIRECTORY_SUBDD); | ||
| + | </ | ||
| + | * Geschachteltes Listing der SubDirectories: | ||
| + | < | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.ListDirectory(DIRECTORY_MAIN); | ||
| + | // | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.ListDirectory(DIRECTORY_SUBYY); | ||
| + | // | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.ListDirectory(DIRECTORY_SUBMM); | ||
| + | // | ||
| + | _Message(LINE_SEPARATOR); | ||
| + | sprintf(Line, | ||
| + | _Message(Line); | ||
| + | SDCard.ListDirectory(DIRECTORY_SUBDD); | ||
| + | </ | ||
| + | |||
| + | |||
| ===== ToDo ===== | ===== ToDo ===== | ||
| ===== Done ===== | ===== Done ===== | ||
| + | ==== 221104 ==== | ||
| + | * X Anlegen von geschachtelten SubDirectories | ||
| + | * X Listing von geschachtelten SubDirectories | ||
| + | * Download: {{: | ||
| + | ==== 221104 ==== | ||
| + | * Download (VSCode): {{: | ||
| ==== 221103 ==== | ==== 221103 ==== | ||
| - | * Neuauflage von 2208211552_Esp32SDCardInfo_01V03.zip | + | * Neuauflage von {{: |
| * zu 2211031450_Esp32SDCardDemo_02V01.zip | * zu 2211031450_Esp32SDCardDemo_02V01.zip | ||
| - | * [[module: | ||
| - | |||
| - | |||
| - | |||
| ----- | ----- | ||
| [[http:// | [[http:// | ||
| [[http:// | [[http:// | ||
| - | [[http:// | + | [[http:// |
| - | [[http:// | + | [[http:// |
module/microcontroller/esp32sdcarddemo/esp32sdcarddemo.1667483971.txt.gz · Last modified: 2022/11/03 14:59 by omdevelop