This commit is contained in:
2026-04-10 12:19:28 -05:00
parent 852939830c
commit 3b2f8957e4
3 changed files with 268 additions and 4 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ enum class Button: uint8_t {
B3 = 2,
B4 = 3,
GREEN = 0,
YELLOW = 1,
RED = 2,
RED = 1,
YELLOW = 2,
BLUE = 3,
};
+1 -1
View File
@@ -1,6 +1,7 @@
#ifndef SD_H
#define SD_H
#include "main.h"
#include <string.h>
#include <sys/unistd.h>
#include <sys/stat.h>
@@ -15,7 +16,6 @@ extern sdmmc_card_t *card;
#define SD_PIN_CLK GPIO_NUM_39
#define SD_PIN_CMD GPIO_NUM_40
#define SD_PIN_D0 GPIO_NUM_38
#define SD_PIN_D1 GPIO_NUM_45
#define SD_PIN_D2 GPIO_NUM_42
#define SD_PIN_D3 GPIO_NUM_41