mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
@@ -14,3 +14,7 @@ CONFIG_SCHEMA = vol.Schema({
|
||||
|
||||
def to_code(config):
|
||||
add(App.init_i2c(config[CONF_SDA], config[CONF_SCL], config.get(CONF_FREQUENCY)))
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_I2C'
|
||||
|
||||
Reference in New Issue
Block a user