标题:
STemWin_HelloWorld源码
[打印本页]
作者:
ihpark
时间:
2018-8-11 10:56
标题:
STemWin_HelloWorld源码
ST32f429I STemWin Example
单片机源程序如下:
/*********************************************************************
* SEGGER MICROCONTROLLER SYSTEME GmbH *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (c) 1996 - 2015 SEGGER Microcontroller Systeme GmbH *
* *
**********************************************************************
***** emWin - Graphical user interface for embedded applications *****
emWin is protected by international copyright laws. Knowledge of the
source code may not be used to write a similar product. This file may
only be used in accordance with a license and should not be re-
distributed in any way. We appreciate your understanding and fairness.
----------------------------------------------------------------------
File : BASIC_HelloWorld.c
Purpose : Simple demo drawing "Hello world"
----------------------------------------------------------------------
*/
#include "GUI.h"
/*********************************************************************
*
* Public code
*
**********************************************************************
*/
/*********************************************************************
*
* MainTask
*/
void MainTask(void) {
GUI_Clear();
GUI_SetFont(&GUI_Font20_1);
GUI_DispStringAt("Hello world!", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/2);
while(1);
}
/*************************** End of file ****************************/
复制代码
所有资料51hei提供下载:
STemWin_HelloWorld.rar
(74.01 KB, 下载次数: 13)
2018-8-11 17:08 上传
点击文件名下载附件
作者:
coyoteie
时间:
2019-7-23 15:18
工程代码不全,编译通不过
作者:
Michael_xie
时间:
2022-11-15 10:30
工程代码不全,编译通不过
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1