12345678910111213141516 |
- #ifndef __SG90_H
- #define __SG90_H
- #include "main.h"
- typedef struct {
- void (* Init)(u16 arr,u16 psc);
- void (* Angle)(float angle);
- } SG90ClassStruct;
- extern SG90ClassStruct SG90Class;
- void MG90S_TIM3_Init(u16 arr,u16 psc);
- void TIM_Angle(float angle);
- #endif
|