📄 gui_helloworld.c
字号:
/*********************************************************************
* SEGGER MICROCONTROLLER SYSTEME GmbH *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (c) 1995 - 2008 SEGGER Microcontroller GmbH & Co. KG *
* *
* www.segger.com Support: support@segger.com *
* *
**********************************************************************
* *
* embOS * Real time operating system for microcontrollers *
* *
* *
* Please note: *
* *
* Knowledge of this file may under no circumstances *
* be used to write a similar product or a real-time *
* operating system for in-house use. *
* *
* Thank you for your fairness ! *
* *
**********************************************************************
* *
* embOS version: 3.52e *
* *
**********************************************************************
----------------------------------------------------------------------
File : GUI_HelloWorld.c
Purpose : emWin and embOS demo application
-------- END-OF-HEADER ---------------------------------------------
*/
#include "BSP.h"
#include "GUI.h"
#include "Rtos.h"
#include <string.h>
/*********************************************************************
*
* main()
*/
void MainTask(void);
void MainTask(void) {
BSP_GUI_Init();
GUI_DispString("Hello World!");
while(1) {
OS_Delay(500);
}
}
/****** End of File *************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -