新建项目
This commit is contained in:
1 parent
5e2e890cfc
commit
633d9b872b
1351 files changed
+730564
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#ifndef _PWM_BOARD_H
|
||||
#define _PWM_BOARD_H
|
||||
|
||||
#include "stm32l0xx_hal.h"
|
||||
#include "stgpio.h"
|
||||
#include "tim.h"
|
||||
|
||||
#define PWM_DIO 0//设置为普通IO空输出
|
||||
#define PWM_PWM 1//设置为PWM输出
|
||||
|
||||
void PwmInfoInit(void);
|
||||
void PwmInfoSetDuty(int index,int duty);
|
||||
void PwmInfoStop(int index) ;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user