This commit is contained in:
2025-04-29 23:23:45 +02:00
parent 7acfb06d42
commit bc8616ef5f
12 changed files with 305 additions and 104 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#include "driver/i2c.h"
//
// Hardware Configuration
@@ -13,13 +14,13 @@
// #define I2C_MASTER_SDA_PIN 21 // SDA 5
// #define I2C_MASTER_SCL_PIN 22 // SCL 8
#define LEP_MISO_PIN 40 // SPI_MISO 12
#define LEP_VSYNC_PIN 41 // GPIO3/VSYNC 15
#define LEP_SCK_PIN 47 // SPI_CLK 18
#define LEP_CSN_PIN 14 // SPI_CS 10
#define LEP_RESET_PIN 20 // RESET_L 17
#define LEP_MISO_PIN GPIO_NUM_40 // SPI_MISO 12
#define LEP_VSYNC_PIN GPIO_NUM_41 // GPIO3/VSYNC 15
#define LEP_SCK_PIN GPIO_NUM_47 // SPI_CLK 18
#define LEP_CSN_PIN GPIO_NUM_14 // SPI_CS 10
#define LEP_RESET_PIN GPIO_NUM_20 // RESET_L 17
#define I2C_MASTER_SDA_PIN 4 // SDA 5
#define I2C_MASTER_SDA_PIN GPIO_NUM_4 // SDA 5
#define I2C_MASTER_SCL_PIN 5 // SCL 8
// I2C