revert I2C to 400kHz

This commit is contained in:
Igor Biletksyy 2022-07-27 14:54:56 -07:00
parent 7d87bde360
commit 49e1d27b12
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ void MX_I2C_Init(void) {
__HAL_RCC_I2C1_CLK_ENABLE();
hi2c1.Instance = I2C1;
hi2c1.Init.ClockSpeed = 100000;
hi2c1.Init.ClockSpeed = 400000;
hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2;
hi2c1.Init.OwnAddress1 = 0;
hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;