![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STM32F4开发学习
文章平均质量分 74
单干户时代
百分之八十的人学编程,从入门到放弃。
展开
-
STM32F4XX点亮LED灯-库函数版
作业:实现 LED 流水灯效果main.c#include "stm32f4xx.h"#include "usart.h"#include "delay.h"#include "led.h"int main(void){ delay_init(168); LED_Init(); while(1){ GPIO_ResetBits(GPIOF,GPIO_Pin_9); /...原创 2020-01-01 22:16:12 · 1447 阅读 · 0 评论 -
使用库函数帮助文档, 查找函数
作业:使用库函数帮助文档, 查找几个函数: GPIO_Init、 GPIO_SetBits、GPIO_RestBits, 获取函数的功能及使用方法。1.找到库函数帮助文档2.进入文档后,点击3.点击4.一直点击进入gpio5.找到位置...原创 2019-12-25 19:43:18 · 503 阅读 · 0 评论 -
STM32F4xx点亮双闪灯(寄存器版)-含代码
使用 GPIOx_ODR 寄存器点亮 D1 和 D2 指示灯。main.c中代码#include "stm32f4xx.h"typedef unsigned int u32;void SystemInit (){ }void delay(u32 i) { while(i--);}int main() { RCC_AHB1ENR|=1<<5; GPIOF_MODE...原创 2019-12-15 21:03:25 · 826 阅读 · 0 评论