论坛元老
 
- 威望
- 0
- 贡献
- 60
- 热心值
- 3
- 金币
- 3899
- 注册时间
- 2020-8-31
|
纯正正弦波源程序// spwm信号调制
//------------------------------------------------------------
#include
#include
//系统配置
__CONFIG(HS&PWRTEN&BOREN&PROTECT&WDTEN);
//打开看门狗,选择高速晶振,上电延时复位,掉电复位使能,代码保护
//------------------------------------------------------------
//指示灯宏定义
#define L1_RED_ON RB1=1;RB2=
|
|