I2C引脚在syscfg配置中,use hardware没有选择TMP006(因为管脚与LED灯冲突),选择了none,相当于将I2C管脚配置到了别的管脚,但是这时仍用TMP006温度传感器原来的slaveaddress进行i2c_transfer,发现i2c无法探测到温度传感器,怎么解决?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I2C引脚在syscfg配置中,use hardware没有选择TMP006(因为管脚与LED灯冲突),选择了none,相当于将I2C管脚配置到了别的管脚,但是这时仍用TMP006温度传感器原来的slaveaddress进行i2c_transfer,发现i2c无法探测到温度传感器,怎么解决?