From af60710405b0eef67567c2c63a902d16bbae3281 Mon Sep 17 00:00:00 2001 From: Mitchell M Date: Fri, 27 Mar 2026 02:21:59 +0000 Subject: [PATCH] add pins --- include/pins.h | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/include/pins.h b/include/pins.h index 5ea8a14..ba1f765 100644 --- a/include/pins.h +++ b/include/pins.h @@ -1,4 +1,40 @@ #include "driver/gpio.h" -#define PIN_SDA (7) -#define PIN_SDA (15) \ No newline at end of file +#define PIN_SDA (GPIO_NUM_7) +#define PIN_SDA (GPIO_NUM_15) + +#define PIN_LCD_MISO (GPIO_NUM_16) +#define PIN_LCD_MOSI (GPIO_NUM_17) +#define PIN_LCD_CLK (GPIO_NUM_18) +#define PIN_LCD_RS (GPIO_NUM_8) +#define PIN_LCD_RST (GPIO_NUM_9) + +#define PIN_USB_DM (GPIO_NUM_19) +#define PIN_USB_DP (GPIO_NUM_20) + +#define PIN_I2S_DAT (GPIO_NUM_3) +#define PIN_I2S_BCLK (GPIO_NUM_11) +#define PIN_I2S_LRCLK (GPIO_NUM_12) + +#define PIN_SSEG_DAT (GPIO_NUM_46) +#define PIN_SSEG_CLK (GPIO_NUM_48) + +#define PIN_MPU_INT (GPIO_NUM_10) +#define PIN_EXPANDER_INT (GPIO_NUM_13) + +#define PIN_IR_RCV (GPIO_NUM_14) + +#define PIN_NEOPIXEL (GPIO_NUM_21) + +#define PIN_SD_DAT0 (GPIO_NUM_38) +#define PIN_SD_DAT1 (GPIO_NUM_47) +#define PIN_SD_DAT2 (GPIO_NUM_42) +#define PIN_SD_DAT3 (GPIO_NUM_41) +#define PIN_SD_CMD (GPIO_NUM_40) +#define PIN_SD_CLK (GPIO_NUM_39) + +#define PIN_PERH0 (GPIO_NUM_6) +#define PIN_PERH1 (GPIO_NUM_5) +#define PIN_PERH2 (GPIO_NUM_4) +#define PIN_PERH3 (GPIO_NUM_2) +#define PIN_PERH4 (GPIO_NUM_1)