linux嵌入式开发箱跑马灯,跑马灯实验(STM32F4开发板)

【实例简介】

实验器材:

探索者STM32F4开发板

实验目的:

学习GPIO作为输出的使用

硬件资源:

1,DS0(连接在PF9)

2,DS1(连接在PF10)

实验现象:

本实验通过代码控制开发板上的两个LED:DS0和DS1交替闪烁,实现类似跑马灯的效果

【实例截图】

【核心代码】

实验1 跑马灯实验

├── CORE

│   ├── core_cm4.h

│   ├── core_cm4_simd.h

│   ├── core_cmFunc.h

│   ├── core_cmInstr.h

│   └── startup_stm32f40_41xxx.s

├── FWLIB

│   ├── inc

│   │   ├── misc.h

│   │   ├── stm32f4xx_adc.h

│   │   ├── stm32f4xx_can.h

│   │   ├── stm32f4xx_crc.h

│   │   ├── stm32f4xx_cryp.h

│   │   ├── stm32f4xx_dac.h

│   │   ├── stm32f4xx_dbgmcu.h

│   │   ├── stm32f4xx_dcmi.h

│   │   ├── stm32f4xx_dma.h

│   │   ├── stm32f4xx_dma2d.h

│   │   ├── stm32f4xx_exti.h

│   │   ├── stm32f4xx_flash.h

│   │   ├── stm32f4xx_flash_ramfunc.h

│   │   ├── stm32f4xx_fmc.h

│   │   ├── stm32f4xx_fsmc.h

│   │   ├── stm32f4xx_gpio.h

│   │   ├── stm32f4xx_hash.h

│   │   ├── stm32f4xx_i2c.h

│   │   ├── stm32f4xx_iwdg.h

│   │   ├── stm32f4xx_ltdc.h

│   │   ├── stm32f4xx_pwr.h

│   │   ├── stm32f4xx_rcc.h

│   │   ├── stm32f4xx_rng.h

│   │   ├── stm32f4xx_rtc.h

│   │   ├── stm32f4xx_sai.h

│   │   ├── stm32f4xx_sdio.h

│   │   ├── stm32f4xx_spi.h

│   │   ├── stm32f4xx_syscfg.h

│   │   ├── stm32f4xx_tim.h

│   │   ├── stm32f4xx_usart.h

│   │   └── stm32f4xx_wwdg.h

│   └── src

│       ├── misc.c

│       ├── stm32f4xx_adc.c

│       ├── stm32f4xx_can.c

│       ├── stm32f4xx_crc.c

│       ├── stm32f4xx_cryp.c

│       ├── stm32f4xx_cryp_aes.c

│       ├── stm32f4xx_cryp_des.c

│       ├── stm32f4xx_cryp_tdes.c

│       ├── stm32f4xx_dac.c

│       ├── stm32f4xx_dbgmcu.c

│       ├── stm32f4xx_dcmi.c

│       ├── stm32f4xx_dma.c

│       ├── stm32f4xx_dma2d.c

│       ├── stm32f4xx_exti.c

│       ├── stm32f4xx_flash.c

│       ├── stm32f4xx_flash_ramfunc.c

│       ├── stm32f4xx_fmc.c

│       ├── stm32f4xx_fsmc.c

│       ├── stm32f4xx_gpio.c

│       ├── stm32f4xx_hash.c

│       ├── stm32f4xx_hash_md5.c

│       ├── stm32f4xx_hash_sha1.c

│       ├── stm32f4xx_i2c.c

│       ├── stm32f4xx_iwdg.c

│       ├── stm32f4xx_ltdc.c

│       ├── stm32f4xx_pwr.c

│       ├── stm32f4xx_rcc.c

│       ├── stm32f4xx_rng.c

│       ├── stm32f4xx_rtc.c

│       ├── stm32f4xx_sai.c

│       ├── stm32f4xx_sdio.c

│       ├── stm32f4xx_spi.c

│       ├── stm32f4xx_syscfg.c

│       ├── stm32f4xx_tim.c

│       ├── stm32f4xx_usart.c

│       └── stm32f4xx_wwdg.c

├── HARDWARE

│   └── LED

│       ├── led.c

│       └── led.h

├── OBJ

│   └── LED.hex

├── SYSTEM

│   ├── delay

│   │   ├── delay.c

│   │   └── delay.h

│   ├── sys

│   │   ├── sys.c

│   │   └── sys.h

│   └── usart

│       ├── usart.c

│       └── usart.h

├── USER

│   ├── DebugConfig

│   │   ├── LED_STM32F407ZG.dbgconf

│   │   └── Template_STM32F407ZG.dbgconf

│   ├── JLinkSettings.ini

│   ├── LED.uvguix.Administrator

│   ├── LED.uvoptx

│   ├── LED.uvprojx

│   ├── main.c

│   ├── stm32f4xx.h

│   ├── stm32f4xx_conf.h

│   ├── stm32f4xx_it.c

│   ├── stm32f4xx_it.h

│   ├── system_stm32f4xx.c

│   └── system_stm32f4xx.h

├── keilkilll.bat

└── readme.txt

13 directories, 96 files

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值