全局变量统一在主函数定义,其他子头文件均引用外部变量
使用模块化设计,列出各自定义函数
1.LED显示类
void Led_Ping(unsigned char led)//保存待定义的管脚 1 2 3 代表P(A B C)
void Ping_Setup(void)//引脚初始化
void Led_Display(unsigned char pos,unsigned char pos_bit,unsigned char dp)//数码管字库 unsigned char 0~255 (位选,段选,显示小数点为1)
void Led_Show()//显示LED_demo
void delay(int a)//自制延时函数
void Auto_display(void)//显示自适应
2.按键类
底板两个按键
void Key_1(void)//按键1
void Key_2(void)//按键2
3.DS18B20温度传感器
void DS18B20_Logic(int res);//温度转换显示模块
4.定时器TIM
void Tim4_Setup()//计时器4 初始化//计时器延时
void Tim6_Setup()//计时器6 初始化
void TIM6_IRQHandler(void) //计时器6 中断函数 (使用时不需要声明 函数名已规定 不可任意更改) 记录1秒
void Tim7_Setup()//计时器7 初始化
void TIM7_IRQHandler(void) //计时器7 中断函数 中断显示
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
SSD1306 LED12864 STM32F103实测能用 (204个子文件)
Template.axf 326KB
Template_sct.Bak 494B
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
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
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
OLED.c 13KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
key.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_it.c 4KB
stm32f10x_crc.c 3KB
delay.c 3KB
key_printf.c 3KB
usart.c 2KB
beep.c 1KB
main.c 1KB
oled.crf 363KB
stm32f10x_tim.crf 362KB
main.crf 357KB
stm32f10x_can.crf 349KB
stm32f10x_adc.crf 348KB
stm32f10x_rcc.crf 348KB
stm32f10x_flash.crf 348KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 346KB
stm32f10x_fsmc.crf 346KB
usart.crf 345KB
stm32f10x_sdio.crf 345KB
stm32f10x_spi.crf 345KB
stm32f10x_gpio.crf 344KB
stm32f10x_dma.crf 344KB
key_printf.crf 343KB
led.crf 343KB
delay.crf 343KB
stm32f10x_dac.crf 342KB
stm32f10x_cec.crf 342KB
system_stm32f10x.crf 342KB
ds18b20.crf 342KB
key.crf 342KB
stm32f10x_bkp.crf 342KB
stm32f10x_rtc.crf 342KB
stm32f10x_pwr.crf 342KB
tim.crf 341KB
stm32f10x_exti.crf 341KB
buzzer.crf 341KB
stm32f10x_wwdg.crf 341KB
beep.crf 341KB
misc.crf 341KB
adc.crf 341KB
stm32f10x_iwdg.crf 340KB
stm32f10x_crc.crf 340KB
stm32f10x_it.crf 340KB
stm32f10x_dbgmcu.crf 340KB
core_cm3.crf 4KB
stm32f10x_dbgmcu.d 2KB
stm32f10x_usart.d 2KB
stm32f10x_flash.d 2KB
stm32f10x_exti.d 2KB
stm32f10x_gpio.d 2KB
stm32f10x_fsmc.d 2KB
stm32f10x_sdio.d 2KB
stm32f10x_iwdg.d 2KB
stm32f10x_wwdg.d 2KB
stm32f10x_rtc.d 2KB
stm32f10x_dac.d 2KB
stm32f10x_can.d 2KB
stm32f10x_i2c.d 2KB
stm32f10x_spi.d 2KB
stm32f10x_crc.d 2KB
stm32f10x_pwr.d 2KB
stm32f10x_tim.d 2KB
stm32f10x_adc.d 2KB
stm32f10x_bkp.d 2KB
stm32f10x_rcc.d 2KB
stm32f10x_dma.d 2KB
stm32f10x_cec.d 2KB
key_printf.d 2KB
system_stm32f10x.d 2KB
oled.d 2KB
main.d 2KB
stm32f10x_it.d 2KB
共 204 条
- 1
- 2
- 3
qq_23123171
- 粉丝: 1
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现电磁优化计算功能,进行线型规划优化电磁设计.rar
- 基于matlab实现带精英策略的非支配排序遗传算法matlab 源码.rar
- 基于matlab实现差分进化算法,最新的用于替代遗传算法,是以后的主要发展方法.rar
- VSCode配置c/c++环境教程.md
- 基于matlab实现标准合作型协同进化遗传算法matlab源程序
- 七下人教.zip
- 基于matlab实现本份代码能对图像进行gabor滤波处理,结合指纹方向图以及指纹沟壑频率特性,对指纹图像进行增强.rar
- 基于matlab实现RBM神经网络实现了手写数字体识别的GUI程序.rar
- 基于matlab实现蝙蝠算法优化相关向量机建模对数据进行建模和预测.rar
- 基于matlab实现编写的禁忌搜索算法,解决了TSP问题,对初学者有重要的参考价值.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0