Keep calibrated SoftSPI touch mapping unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
368 B
C
22 lines
368 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
struct SdCardInfo {
|
|
bool mounted;
|
|
bool present;
|
|
const char *type;
|
|
const char *filesystem;
|
|
uint64_t card_bytes;
|
|
uint64_t total_bytes;
|
|
uint64_t used_bytes;
|
|
uint64_t free_bytes;
|
|
uint32_t root_files;
|
|
String error;
|
|
};
|
|
|
|
bool sd_init();
|
|
void sd_deinit();
|
|
SdCardInfo sd_read_info();
|
|
String format_bytes(uint64_t bytes);
|