Librairie adaptée au laboratoire 2

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Fork of X_NUCLEO_6180XA1 by ST

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 278 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 303 of file Display.h.