Files
system-control/firmware/main/include/i2c_checker.h
2026-01-25 02:15:05 +01:00

14 lines
290 B
C

#pragma once
#include "driver/gpio.h"
#include "esp_err.h"
#define DISPLAY_I2C_ADDRESS 0x3C
#define I2C_MASTER_SDA_PIN ((gpio_num_t)CONFIG_DISPLAY_SDA_PIN)
#define I2C_MASTER_SCL_PIN ((gpio_num_t)CONFIG_DISPLAY_SCL_PIN)
__BEGIN_DECLS
esp_err_t i2c_bus_scan_and_check(void);
__END_DECLS