上传者: 46000743
|
上传时间: 2021-07-23 15:50:08
|
文件大小: 25KB
|
文件类型: DOCX
基于STM32F407,输出双路互补的SPWM波,AD采集用DMA DAC的方式,具有PID调节
源程序如下:
#include "stm32f407.h"
#include "string.h"
#include "usart.h"
#include "delay.h"
#include "bsp_advance_tim.h"
#include "bsp_spwm.h"
#include "ShuangLu.h"
#include "PID.h"
#include "bsp_adc.h"
#include "SD_io.h"
#include "oled.h"
#include "filter.h"
#include "bsp_spwm.h"
#include "led.h"