mirror of
https://github.com/Lurkars/esp-ena.git
synced 2026-05-08 20:10:37 +02:00
added Exposure code, DS3231, SSD1306, interfaces, started with protocol buffers impl.
This commit is contained in:
@@ -31,6 +31,7 @@ void i2c_main_init()
|
||||
.master.clk_speed = I2C_CLK_SPEED};
|
||||
ESP_ERROR_CHECK(i2c_param_config(I2C_NUM_0, &i2c_config));
|
||||
ESP_ERROR_CHECK(i2c_driver_install(I2C_NUM_0, I2C_MODE_MASTER, 0, 0, 0));
|
||||
i2c_initialized = true;
|
||||
}
|
||||
|
||||
bool i2c_is_initialized()
|
||||
|
||||
Reference in New Issue
Block a user