IoT Drivers  v3.3.0 (S2022)
Engineering in Software Technology
7-segment Display driver functions

Commonly used driver functions. Here you you will find the functions you will need to work with the driver. More...

Collaboration diagram for 7-segment Display driver functions:

Functions

void display_7seg_display (float value, uint8_t no_of_decimals)
 Display value on the 7-segment Display. More...
 
void display_7seg_displayHex (char *hexString)
 Display a HEX value on the 7-segment Display. More...
 
void display_7seg_displayErr (void)
 Display Err on the 7-segment Display. More...
 
void display_7seg_powerUp (void)
 Power up the 7-segment display. More...
 
void display_7seg_powerDown (void)
 Power down the 7-segment display. More...
 

Detailed Description

Commonly used driver functions. Here you you will find the functions you will need to work with the driver.

Function Documentation

◆ display_7seg_display()

void display_7seg_display ( float  value,
uint8_t  no_of_decimals 
)

Display value on the 7-segment Display.

Note
When the driver is initialised the display will be in power-down mode
See also
display_7seg_power_up and
display_7seg_power_down.
Parameters
[in]valuethe value to shown on the display.
[in]no_of_decimalsThe number of digits after the decimal point.

◆ display_7seg_displayErr()

void display_7seg_displayErr ( void  )

Display Err on the 7-segment Display.

Will display Err on the display.

Note
When the driver is initialised the display will be in power-down mode
See also
display_7seg_power_up and
display_7seg_power_down.

◆ display_7seg_displayHex()

void display_7seg_displayHex ( char *  hexString)

Display a HEX value on the 7-segment Display.

Will display a HEX string on the display. If the HEX string has more than four hex bytes the display will scroll.

Note
hexString will be converted to uppercase and truncated to 32 characters if longer!
When the driver is initialised the display will be in power-down mode
See also
display_7seg_power_up and
display_7seg_power_down.
Parameters
[in]hexStringto be shown on the display.

◆ display_7seg_powerDown()

void display_7seg_powerDown ( void  )

Power down the 7-segment display.

Note
When the driver is initialised the display will be in power-down mode
See also
display_7seg_powerUp and
display_7seg_powerDown.

◆ display_7seg_powerUp()

void display_7seg_powerUp ( void  )

Power up the 7-segment display.

Note
When the driver is initialised the display will be in power-down mode
See also
display_7seg_power_up and
display_7seg_power_down.