[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.GetTouch.cpp Source File

display.GetTouch.cpp

00001 #include "display.h"
00002 
00003 /**************************************************************************************************************************
00004 ************************** Get number of touched object *******************************************************************
00005 **************************************************************************************************************************/
00006 char Display::GetTouch()
00007 {   
00008     return (*_TFT).Rd8(REG_TOUCH_TAG);
00009 }