Miroslaw K. / Mbed 2 deprecated RadarDemo

Dependencies:   BSP_DISCO_F746NG Graphics mbed TS_DISCO_F746NG

Embed: (wiki syntax)

« Back to documentation index

TouchScreen Class Reference

TouchScreen Class Reference

Touchscreen class. More...

#include <TouchScreen.h>

Public Member Functions

 TouchScreen (Display *display)
 Initializes a new instance of the TouchScreen class.
 ~TouchScreen ()
 Finalizes an instance of the TouchScreen class.
void Init ()
 Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..).
pPoint DetectTouch ()
 Detect a touch.

Detailed Description

Touchscreen class.

Definition at line 26 of file TouchScreen.h.


Constructor & Destructor Documentation

TouchScreen ( Display *  display )

Initializes a new instance of the TouchScreen class.

Definition at line 9 of file TouchScreen.cpp.

~TouchScreen (  )

Finalizes an instance of the TouchScreen class.


Member Function Documentation

pPoint DetectTouch (  )

Detect a touch.

Returns a pointer to tpoch point position or NULL if touch was not detected.

Definition at line 22 of file TouchScreen.cpp.

void Init (  )

Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..).

Definition at line 16 of file TouchScreen.cpp.