Creating a project about VL6180XA1 for TT_Mxx

Embed: (wiki syntax)

« Back to documentation index

Display Class Reference

Display Class Reference

Class representing Display. More...

#include <Display.h>

Public Member Functions

 Display (STMPE1600 &stmpe_1600)
 Constructor.
void display_string (char str[4], char strlen)
 Print the string on display.
void DisplayDigit (char val, char dgt)
 Print the digit on display.

Detailed Description

Class representing Display.

Definition at line 250 of file Display.h.


Constructor & Destructor Documentation

Display ( STMPE1600 &  stmpe_1600 )

Constructor.

Parameters:
[in]&stmpe_1600device handler to be used for display control

Definition at line 256 of file Display.h.


Member Function Documentation

void display_string ( char  str[4],
char  strlen 
)

Print the string on display.

Parameters:
[in]Stringto be printed
[in]Stringlenght [min 1, max 4]
Returns:
void

Definition at line 279 of file Display.h.

void DisplayDigit ( char  val,
char  dgt 
)

Print the digit on display.

Parameters:
[in]Digitvalue to be printed
[in]Digitto be used [min 0, max 3]
Returns:
void

Definition at line 304 of file Display.h.