标题: 我的实验主函数代码 [打印本页]

作者: WANGYAO0521    时间: 2017-9-14 10:57
标题: 我的实验主函数代码
#include"stm32f4xx.h"
#include"beep.h"
#include"delay.h"
#include"led.h"

int main(void)
{
delay_init(168);
        LED_Init();
        BEEP_Init();
        while(1)
        {
        GPIO_ResetBits(GPIOF,GPIO_Pin_8);
                GPIO_ResetBits(GPIOF,GPIO_Pin_9);
                delay_ms(500);
    GPIO_SetBits(GPIOF,GPIO_Pin_8);
          GPIO_SetBits(GPIOF,GPIO_Pin_9);
                delay_ms(500);
       
        }


}







欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1