标题:
STM32 240x320液晶操作代码
[打印本页]
作者:
浪里淘金
时间:
2018-8-6 22:21
标题:
STM32 240x320液晶操作代码
分享STM32液晶LCD中英文显示,其中涉及自动换行和主动换行的操作。
单片机源程序如下:
#include "stm32f10x.h"
#include "fonts.h"
#include "bsp_usart.h"
#include "bsp_lcd.h"
#include "./flash/bsp_spi_flash.h"
static void Delay ( __IO uint32_t nCount )
{
for ( ; nCount != 0; nCount -- );
}
int main(void)
{
BSP_USART_CONFIG();
ILI9341_Init();
Set_Font( Font8x16 );
LCD_DISPLAY_ALL(0,0,0,"吴俊英制作",BLACK);
LCD_DISPLAY_ALL(2,0,0,"秉火3.2_2.8寸LCD参数:",BLACK);
LCD_DISPLAY_ALL(3,0,0,"分辨率:240x320 px",BLACK);
LCD_DISPLAY_ALL(4,0,0,"ILI9341液晶驱动",BLACK);
LCD_DISPLAY_ALL(5,0,0,"XPT2046触摸屏驱动XPT2046触摸屏驱动",BLACK);
while(1)
{
}
}
复制代码
所有资料51hei提供下载:
LCD中英文显示.rar
(321.97 KB, 下载次数: 21)
2018-8-6 23:50 上传
点击文件名下载附件
STM32液晶操作代码
下载积分: 黑币 -5
作者:
coobakl
时间:
2019-9-26 14:39
楼主辛苦,学习学习
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1