/*********************************************************************************************/
【*】程序简介
-工程名称:单色呼吸灯
-实验平台: 野火STM32-F103 指南者 开发板
-ST固件库版本:3.5.0
【 !】功能简介:
使用定时器输出控制LED灯呈呼吸效果
【*】注意事项:
若移植本程序到其它硬件上时,请注意要选用定时器通道引脚来控制LED灯
【 !】实验操作:
编译并下载程序到开发板,复位后可以看到RGB灯呈呼吸效果
/*********************************************************************************************/
【*】 引脚分配
RGB灯:
R_LED <--->PB5(TIM3 CH2)
G_LED <--->PB0(TIM3 CH3)
B_LED <--->PB1(TIM3 CH4)
/*********************************************************************************************/
【*】 程序描述
<bsp_breathing.c>
1.LED高度等级PWM表
2.配置TIM复用输出PWM时用到的I/O
3.配置嵌套向量中断控制器NVIC
4.配置TIM输出的PWM信号的模式,如周期、极性
5.TIM呼吸灯初始化
/*********************************************************************************************/
【*】 联系我们
-野火官网 :https://embedfire.com
-野火论坛 :http://www.firebbs.cn
-野火商城 :https://yehuosm.tmall.com/
-野火资料下载中心:http://doc.embedfire.com/products/link
/*********************************************************************************************/
没有合适的资源?快使用搜索试试~ 我知道了~
stm32f103zet6 +DHT11+中断+KEY+LCD.zip
共209个文件
h:38个
c:37个
o:36个
需积分: 5 0 下载量 40 浏览量
2022-01-02
18:17:39
上传
评论 2
收藏 7.11MB ZIP 举报
温馨提示
DHT11 实时温湿度检测
资源详情
资源评论
资源推荐
收起资源包目录
stm32f103zet6 +DHT11+中断+KEY+LCD.zip (209个子文件)
Template.axf 448KB
keilkill.bat 401B
stm32f10x_tim.c 107KB
fonts.c 81KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
bsp_ili9341_lcd.c 47KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
bsp_xpt2046_lcd.c 24KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
bsp_spi_flash.c 14KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_it.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
bsp_breathing.c 5KB
stm32f10x_iwdg.c 5KB
bsp_usart.c 4KB
bsp_key.c 3KB
stm32f10x_crc.c 3KB
dht11.c 3KB
main.c 2KB
bsp_systick.c 496B
py_index_Wave.c 446B
stm32f10x_tim.crf 362KB
bsp_ili9341_lcd.crf 361KB
main.crf 360KB
bsp_spi_flash.crf 352KB
stm32f10x_can.crf 349KB
fonts.crf 348KB
stm32f10x_adc.crf 348KB
stm32f10x_rcc.crf 348KB
stm32f10x_flash.crf 348KB
bsp_usart.crf 347KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 346KB
stm32f10x_fsmc.crf 346KB
stm32f10x_sdio.crf 345KB
stm32f10x_spi.crf 345KB
stm32f10x_gpio.crf 344KB
stm32f10x_dma.crf 344KB
stm32f10x_it.crf 343KB
stm32f10x_dac.crf 342KB
stm32f10x_cec.crf 342KB
system_stm32f10x.crf 342KB
stm32f10x_bkp.crf 342KB
bsp_key.crf 342KB
stm32f10x_rtc.crf 342KB
stm32f10x_pwr.crf 342KB
bsp_breathing.crf 342KB
dht11.crf 342KB
stm32f10x_exti.crf 341KB
stm32f10x_wwdg.crf 341KB
misc.crf 341KB
stm32f10x_iwdg.crf 341KB
bsp_systick.crf 340KB
stm32f10x_crc.crf 340KB
stm32f10x_dbgmcu.crf 340KB
core_cm3.crf 4KB
BH-STM32.uvguix.crystal 88KB
main.d 2KB
bsp_ili9341_lcd.d 2KB
stm32f10x_dbgmcu.d 2KB
stm32f10x_flash.d 2KB
stm32f10x_usart.d 2KB
stm32f10x_it.d 2KB
bsp_spi_flash.d 2KB
stm32f10x_fsmc.d 2KB
stm32f10x_exti.d 2KB
stm32f10x_sdio.d 2KB
stm32f10x_wwdg.d 2KB
stm32f10x_iwdg.d 2KB
stm32f10x_gpio.d 2KB
system_stm32f10x.d 2KB
bsp_breathing.d 2KB
stm32f10x_dac.d 2KB
stm32f10x_i2c.d 2KB
stm32f10x_dma.d 2KB
stm32f10x_tim.d 2KB
stm32f10x_spi.d 2KB
stm32f10x_adc.d 2KB
stm32f10x_crc.d 2KB
stm32f10x_bkp.d 2KB
stm32f10x_rtc.d 2KB
stm32f10x_pwr.d 2KB
共 209 条
- 1
- 2
- 3
可燃冰lll
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0