Files
system-control/firmware/main/i2c_checker.h
Peter Siegmund 08b0e04584 implement new light mode (off/day/night/simulation)
missing:
- fully connect it to the ui
- setup duration in light settings

Signed-off-by: Peter Siegmund <developer@mars3142.org>
2025-09-29 23:15:06 +02: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