I2C board settings updated (#86)

This commit is contained in:
Ken Van Hoeylandt
2024-11-24 21:39:01 +01:00
committed by GitHub
parent c8f63adba4
commit caa8756998
4 changed files with 46 additions and 5 deletions
@@ -9,8 +9,8 @@ const tt::hal::Configuration m5stack_cores3 = {
.sdcard = &m5stack_sdcard,
.power = &m5stack_power,
.i2c = {
// Internal
tt::hal::i2c::Configuration {
.name = "Internal",
.port = I2C_NUM_0,
.initMode = tt::hal::i2c::InitByExternal,
.canReinit = false,
@@ -28,8 +28,8 @@ const tt::hal::Configuration m5stack_cores3 = {
.clk_flags = 0
}
},
// External (Grove)
tt::hal::i2c::Configuration {
.name = "External", // Grove
.port = I2C_NUM_1,
.initMode = tt::hal::i2c::InitByExternal,
.canReinit = true,