generated from Template/H563ZI-HAL-CMake-Template
加入Buzzer,Shake_Motor,Ultrasound
This commit is contained in:
11
fun/Shake_Motor.c
Normal file
11
fun/Shake_Motor.c
Normal 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>
|
||||
}
|
||||
Reference in New Issue
Block a user