修改了六轴配置
This commit is contained in:
@ -520,7 +520,8 @@ const struct hw_iic_config hw_iic_cfg[] = {
|
||||
{IO_PORTC_02, IO_PORTC_03}, //group c
|
||||
{IO_PORTA_05, IO_PORTA_06}, //group d
|
||||
*/
|
||||
.port = TCFG_HW_I2C0_PORTS,
|
||||
// .port = TCFG_HW_I2C0_PORTS,
|
||||
.port = {IO_PORTC_04,IO_PORTC_05}, // portB: scl、sda
|
||||
.baudrate = TCFG_HW_I2C0_CLK, //IIC通讯波特率
|
||||
.hdrive = 0, //是否打开IO口强驱
|
||||
.io_filter = 1, //是否打开滤波器(去纹波)
|
||||
|
||||
Reference in New Issue
Block a user