update doc

This commit is contained in:
NeoZng
2022-11-13 21:46:52 +08:00
parent c4dfe8e60b
commit 9908dfd015
19 changed files with 117 additions and 18 deletions

View File

@@ -2,8 +2,12 @@
extern TIM_HandleTypeDef htim10;
void IMUTempInit()
{
HAL_TIM_PWM_Start(&htim10, TIM_CHANNEL_1);
}
void imu_pwm_set(uint16_t pwm)
{
__HAL_TIM_SetCompare(&htim10, TIM_CHANNEL_1, pwm);
}