Player sends its resolution to LMS + SPI speed settable

This commit is contained in:
philippe44
2020-02-11 14:31:17 -08:00
parent dd7b4a0fb4
commit ff7b7f0846
5 changed files with 44 additions and 22 deletions

View File

@@ -82,7 +82,7 @@ static bool init(int i2c_port_num, int i2s_num, i2s_config_t *i2s_config) {
.sda_pullup_en = GPIO_PULLUP_ENABLE,
.scl_io_num = 32,
.scl_pullup_en = GPIO_PULLUP_ENABLE,
.master.clk_speed = 100000,
.master.clk_speed = 250000,
};
i2c_param_config(i2c_port, &i2c_config);