加入Buzzer,Shake_Motor,Ultrasound

This commit is contained in:
2025-06-24 20:46:30 +08:00
parent 5cc35cbad3
commit 20d90d8933
50 changed files with 12844 additions and 4561 deletions

11
fun/Shake_Motor.c Normal file
View File

@@ -0,0 +1,11 @@
#include "Shake_Motor.h"
void Shake_Motor_Open(void)
{
HAL_GPIO_WritePin(Shake_Motor_GPIO_Port,Shake_Motor_Pin,GPIO_PIN_SET); // <20>ߵ<EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>
}
void Shake_Motor_Close(void)
{
HAL_GPIO_WritePin(Shake_Motor_GPIO_Port,Shake_Motor_Pin,GPIO_PIN_RESET); // <20>͵<EFBFBD>ƽ<EFBFBD>ر<EFBFBD>
}