Implemented I2C scanner app (#97)
This commit is contained in:
committed by
GitHub
parent
6094b9c3f2
commit
3f62ec2efa
@@ -13,7 +13,6 @@ extern const tt::hal::Configuration m5stack_core2 = {
|
||||
.initMode = tt::hal::i2c::InitByExternal,
|
||||
.canReinit = false,
|
||||
.hasMutableConfiguration = false,
|
||||
.timeout = 1000,
|
||||
.config = (i2c_config_t) {
|
||||
.mode = I2C_MODE_MASTER,
|
||||
.sda_io_num = GPIO_NUM_21,
|
||||
@@ -32,7 +31,6 @@ extern const tt::hal::Configuration m5stack_core2 = {
|
||||
.initMode = tt::hal::i2c::InitByExternal,
|
||||
.canReinit = true,
|
||||
.hasMutableConfiguration = true,
|
||||
.timeout = 1000,
|
||||
.config = (i2c_config_t) {
|
||||
.mode = I2C_MODE_MASTER,
|
||||
.sda_io_num = GPIO_NUM_32,
|
||||
|
||||
Reference in New Issue
Block a user