[SIMPLE PROGRAM] HYT humidity & temp sensor polling / showing received data at TFT with capacitive touchscreen

Dependencies:   FT800_2 HYT mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers display.Draw_MainMenuReference.cpp Source File

display.Draw_MainMenuReference.cpp

00001 #include "display.h"
00002 
00003 /**************************************************************************************************************************
00004 ************************** Draw link to the main menu screen **************************************************************
00005 **************************************************************************************************************************/
00006 void Display::MainMenuReference()
00007 {
00008     (*_TFT).DL(COLOR_RGB(0, 0, 0));
00009     (*_TFT).DL(TAG_MASK(1));
00010     (*_TFT).DL(TAG(MENU_PRESS));
00011     (*_TFT).Text(14, 240, 22, 0, "Back to main menu");
00012     (*_TFT).DL(BEGIN(LINES));
00013     (*_TFT).DL(LINE_WIDTH(8));
00014     (*_TFT).DL(VERTEX2F(15 * 16, 260 * 16));
00015     (*_TFT).DL(VERTEX2F(155 * 16, 260 * 16));
00016     (*_TFT).DL(TAG_MASK(0));
00017 }