mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-07-30 02:01:58 +08:00

* Update WebSocket library * Update SSDP library * Update TFT_eSPI library * Update EspLuaEngine library * Update SDFat library * Change to pioarduino * Make ESP3DMessageFIFO and ESP3DMessage more thread safe * Fix sanity checks for BT * Add some C6 support * Refactor ethernet code * Split Ethernet Sta / WiFi sta ESP Commands and settings * Simplify wait and wdtFeed code * Set C3 with 4MB by default in platformio.ini * Apply Disable brown out only on ESP32 to avoid crash e.g:ESP32S3 * Add missing entries in platformio.ini
20 lines
530 B
C++
20 lines
530 B
C++
// Print a list of error codes, symbols, and comments.
|
|
#include "SdFat.h"
|
|
void setup() {
|
|
Serial.begin(9600);
|
|
while (!Serial) {
|
|
}
|
|
delay(1000);
|
|
Serial.println();
|
|
Serial.println(F("Code,Symbol - failed operation"));
|
|
for (uint8_t code = 0; code <= SD_CARD_ERROR_UNKNOWN; code++) {
|
|
Serial.print(code < 16 ? "0X0" : "0X");
|
|
Serial.print(code, HEX);
|
|
Serial.print(",");
|
|
printSdErrorSymbol(&Serial, code);
|
|
Serial.print(" - ");
|
|
printSdErrorText(&Serial, code);
|
|
Serial.println();
|
|
}
|
|
}
|
|
void loop() {} |