Home / documentation / Virtuoso Standard Library - 1.0.0

Virtuoso Standard Library

Seven Segment Control

A seven segment display is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot matrix displays. Seven segment displays are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information.

Case 1:-Default Setup


1. Default Node Style

                   

2. Default Property Window

                      

3. Default Preview Window

                        

4. Default view in HOST

                     

Case 2:- Result in Default Settings


1. Node Style

                            

 

 

                                

2. Property Window

                      

3. View in HOST

                     

Ex:-It will be defined in TMB


unsigned char SevenSeg = 48;


void tmrSevenSgement()


{


if (SevenSeg >= 58)


{


SevenSeg = 48;


}


SevenSeg++;


}

 


Case 3:-when raw data is supplied in the form of “Array”

1. Default Setting of Node 

                

2. Default Setting for Property Window

                 

3. View in HOST

                  

 

Implemented Example:-It is implemented in TMB


unsigned char SevenSegArr[] = {


250,200,215,210,255


};

On this page: