This commit is contained in:
lmx
2025-12-21 15:40:28 +08:00
parent 3fa235d3c2
commit 8cb1ca7701
12 changed files with 68 additions and 46 deletions

View File

@ -496,7 +496,7 @@ const struct soft_iic_config soft_iic_cfg[] = {
.scl = TCFG_SW_I2C0_CLK_PORT, //IIC CLK脚
.sda = TCFG_SW_I2C0_DAT_PORT, //IIC DAT脚
.delay = TCFG_SW_I2C0_DELAY_CNT, //软件IIC延时参数影响通讯时钟频率
.io_pu = 1, //是否打开上拉电阻如果外部电路没有焊接上拉电阻需要置1
.io_pu = 0, //是否打开上拉电阻如果外部电路没有焊接上拉电阻需要置1
},
#if 0
//iic1 data