Login
1 branch 0 tags
Ben (Desktop/Arch) Put the display to sleep when brightness==0 43a8a00 1 month ago 70 Commits
moon / esp32 / main / pinout.h
/*
 * pinout.h - ESP32-S3 hardware pin assignments
 */
#pragma once

// Display (ST7735 SPI)
#define PIN_CS   4
#define PIN_DC   6
#define PIN_RST  5
#define PIN_MOSI 7
#define PIN_SCK  8
#define PIN_LED  15

// Buttons (active-low)
#define PIN_DOWN 39
#define PIN_UP   40
#define PIN_OK   41
#define PIN_BACK 42

// I2S audio output
#define PIN_BCK  13
#define PIN_WS   14
#define PIN_DOUT 21

// SD card SPI
#define SD_PIN_CS   9
#define SD_PIN_CLK  10
#define SD_PIN_MOSI 11
#define SD_PIN_MISO 12