mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
init commit
This commit is contained in:
9
bsp/bsp_temperature.c
Normal file
9
bsp/bsp_temperature.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "bsp_temperature.h"
|
||||
|
||||
extern TIM_HandleTypeDef htim10;
|
||||
|
||||
void imu_pwm_set(uint16_t pwm)
|
||||
{
|
||||
__HAL_TIM_SetCompare(&htim10, TIM_CHANNEL_1, pwm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user