mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
14 lines
223 B
C
14 lines
223 B
C
#include "bsp_temperature.h"
|
|
|
|
extern TIM_HandleTypeDef htim10;
|
|
|
|
void IMUTempInit()
|
|
{
|
|
HAL_TIM_PWM_Start(&htim10, TIM_CHANNEL_1);
|
|
}
|
|
|
|
void IMUPWMSet(uint16_t pwm)
|
|
{
|
|
__HAL_TIM_SetCompare(&htim10, TIM_CHANNEL_1, pwm);
|
|
}
|