实验器材:
MiniSTM32F103开发板V3版本
实验目的:
学习单色OLED显示屏的使用
硬件资源:
1,DS0(连接在PA8)
2,ALIENTEK 0.96寸OLED模块(连接IO说明,见oled.h文件)
实验现象:
本实验利用开发板的LCD接口(靠左插)连接ALIENTEK OLED模块,实现OLED模块的显示,下
载成功后,通过把OLED模块插入开发板的LCD接口(靠左插),按下复位键之后,就可以看到
OLED模块不停的显示ASCII码和码值。
注意事项:
1,开发板的OLED和LCD共用一个接口,插OLED模块的时候,靠左插即可.
2,例程默认用的8080方式驱动OLED模块,所以OLED模块的BS0,BS1都需要接VCC(默认接的VCC).
正点原子@ALIENTEK
2014-3-07
广州市星翼电子科技有限公司
电话:020-38271790
传真:020-36773971
购买:http://shop62103354.taobao.com
http://shop62057469.taobao.com
公司网站:www.alientek.com
技术论坛:www.openedv.com
没有合适的资源?快使用搜索试试~ 我知道了~
STM32F103标准库的OLED多级菜单GUI实现
共176个文件
h:41个
c:38个
o:26个
需积分: 0 13 下载量 79 浏览量
2024-01-01
21:50:21
上传
评论 3
收藏 5.08MB ZIP 举报
温馨提示
//项目中的多级菜单UI使用了较为常见的结构体索引法去实现功能与功能之间的来回切换, #include "led.h" #include "delay.h" #include "sys.h" #include "usart.h" #include "oled.h" #include "rtc.h" #include "menu.h" #include "stdlib.h" #include "dht11.h" #include "key.h" #include "control.h" int main(void) { NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);// 设置中断优先级分组2 delay_init(); //延时函数初始化 uart_init(9600); //串口初始化为9600 LED_Init(); //初始化与LED连接的硬件接口 KEY_Init(); DHT11_Init(); RTC_Init(); //RTC初始化
资源推荐
资源详情
资源评论
收起资源包目录
STM32F103标准库的OLED多级菜单GUI实现 (176个子文件)
OLED.uvguix.22572 175KB
LED.axf 350KB
keilkilll.bat 399B
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
menu.c 15KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
delay.c 8KB
oled.c 7KB
misc.c 7KB
dinogame.c 7KB
stm32f10x_exti.c 7KB
rtc.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
usart.c 5KB
stm32f10x_crc.c 3KB
dht11.c 3KB
stm32f10x_it.c 2KB
control.c 2KB
key.c 2KB
led.c 1KB
main.c 978B
sys.c 872B
stm32f10x_tim.crf 362KB
main.crf 355KB
menu.crf 352KB
dinogame.crf 351KB
oled.crf 351KB
control.crf 349KB
rtc.crf 349KB
stm32f10x_rcc.crf 348KB
usart.crf 347KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 346KB
stm32f10x_gpio.crf 344KB
dht11.crf 343KB
key.crf 342KB
system_stm32f10x.crf 342KB
delay.crf 342KB
stm32f10x_bkp.crf 342KB
stm32f10x_pwr.crf 342KB
stm32f10x_rtc.crf 342KB
led.crf 341KB
stm32f10x_exti.crf 341KB
sys.crf 341KB
misc.crf 341KB
stm32f10x_it.crf 340KB
core_cm3.crf 4KB
main.d 2KB
control.d 2KB
stm32f10x_usart.d 2KB
menu.d 2KB
stm32f10x_gpio.d 2KB
stm32f10x_exti.d 2KB
stm32f10x_rcc.d 2KB
stm32f10x_pwr.d 2KB
stm32f10x_rtc.d 2KB
stm32f10x_i2c.d 2KB
stm32f10x_bkp.d 2KB
stm32f10x_tim.d 2KB
system_stm32f10x.d 2KB
dinogame.d 2KB
stm32f10x_it.d 2KB
oled.d 2KB
rtc.d 2KB
usart.d 2KB
dht11.d 2KB
delay.d 2KB
key.d 2KB
misc.d 2KB
led.d 2KB
sys.d 2KB
core_cm3.d 104B
startup_stm32f10x_hd.d 63B
Target_1_STM32F103RC_1.0.0.dbgconf 2KB
OLED_Target 1.dep 55KB
stm32f10x.h 619KB
core_cm3.h 84KB
stm32f10x_tim.h 51KB
stm32f10x_rcc.h 30KB
stm32f10x_i2c.h 29KB
stm32f10x_can.h 27KB
共 176 条
- 1
- 2
资源评论
玄奕子
- 粉丝: 741
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功