---vl6180dr

This commit is contained in:
Mysteo91
2023-07-31 11:48:34 +03:00
parent 0b2cdbc8ba
commit cef4988b6d
13 changed files with 82 additions and 878 deletions

View File

@@ -68,7 +68,7 @@ void MX_TIM3_Init(void)
}
sConfigOC.OCMode = TIM_OCMODE_PWM1;
sConfigOC.Pulse = 10616;
sConfigOC.OCPolarity = TIM_OCPOLARITY_LOW;
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_2) != HAL_OK)
{