Import YEEP-144 library 1.2 sources
Source-only snapshot of the 1.2 release. Drivers/ (the vendored ST HAL and CMSIS) is excluded at 173 MB; fetch it from STMicroelectronics/STM32CubeH5 to build.
This commit is contained in:
24
YEEP144lib/include/YEEP144_Servo.h
Normal file
24
YEEP144lib/include/YEEP144_Servo.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __YEEP144_SERVO_H
|
||||
#define __YEEP144_SERVO_H
|
||||
|
||||
void YEEP144_Servo_Init1_2(void);
|
||||
void YEEP144_Servo_Init3(void);
|
||||
void YEEP144_Servo_Init4(void);
|
||||
|
||||
void YEEP144_Servo1_SetDirect(uint16_t pulse);
|
||||
void YEEP144_Servo2_SetDirect(uint16_t pulse);
|
||||
void YEEP144_Servo3_SetDirect(uint16_t pulse);
|
||||
void YEEP144_Servo4_SetDirect(uint16_t pulse);
|
||||
|
||||
void YEEP144_Servo1_SetAngle(float angle);
|
||||
void YEEP144_Servo2_SetAngle(float angle);
|
||||
void YEEP144_Servo3_SetAngle(float angle);
|
||||
void YEEP144_Servo4_SetAngle(float angle);
|
||||
|
||||
void YEEP144_Servo_SetMinTicks(uint8_t servo, uint16_t min);
|
||||
void YEEP144_Servo_SetMaxTicks(uint8_t servo, uint16_t max);
|
||||
|
||||
void YEEP144_Servo_SetMinAngle(uint8_t servo, float min);
|
||||
void YEEP144_Servo_SetMaxAngle(uint8_t servo, float max);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user