Difference between revisions of "What Is a 7 Segment Display?"

From Flowcode Help
Jump to navigationJump to search
Line 12: Line 12:
 
The LED colour may be changed in Flowcode using the 'LED Color' property, you may also change the 'Bezel Color' property to change the colour of the base/background of the component, these properties may be changed during simulation if you wish to do so.
 
The LED colour may be changed in Flowcode using the 'LED Color' property, you may also change the 'Bezel Color' property to change the colour of the base/background of the component, these properties may be changed during simulation if you wish to do so.
  
 +
 +
There are two versions of this component readily available in Flowcode, the [[Component ID 52c5383b 4f48 4029 8b75 c3633f7cf892|7 Segment Single]] which is a single digit accompanied by a decimal point or a [[Component ID f4400e36 dd95 4472 86da 4bba68d68d5d|7 Segment Quad]], which is a set of 4 displays, which works more efficiently as it takes less pins to connect than 4 separate 7 Segment Single components and it is easier to program and incorporate into your program and system.
  
 
In Flowcode the each element/section on the 7 Segment Display needs to be connected in order to function properly, the default connections for the component are as follows:
 
In Flowcode the each element/section on the 7 Segment Display needs to be connected in order to function properly, the default connections for the component are as follows:

Revision as of 13:00, 16 July 2013

<sidebar>Sidebar: What Is a Component?</sidebar> A seven-segment display (SSD) is an electronic display device for displaying decimal numerals (numbers) that is an alternative to the more complex dot matrix and OLED displays.

Seven-segment displays are widely used in digital clocks, electronic meters and other electronic devices for displaying numerical information.


The seven-segment display is split into 8 elements, each element is a section of the digit, and the eighth section is the decimal point, these elements/sections are commonly labelled A-G going clockwise around each section of the digit, ending with the 'G' section in the middle, and the decimal point labelled as 'DP' to the side, this labeling pattern is also convert-able into decimal numbers, 1-8.


Seven-segment displays may use liquid crystal display (LCD), a light-emitting diode (LED) for each segment or other light generating or controlling techniques. The 7 Segment Single and 7 Segment Quad Flowcode components use LED displays and the 'Display Type' property is set to 'Cathode' by default, this property can be changed to 'Anode' manually.

The LED colour may be changed in Flowcode using the 'LED Color' property, you may also change the 'Bezel Color' property to change the colour of the base/background of the component, these properties may be changed during simulation if you wish to do so.


There are two versions of this component readily available in Flowcode, the 7 Segment Single which is a single digit accompanied by a decimal point or a 7 Segment Quad, which is a set of 4 displays, which works more efficiently as it takes less pins to connect than 4 separate 7 Segment Single components and it is easier to program and incorporate into your program and system.

In Flowcode the each element/section on the 7 Segment Display needs to be connected in order to function properly, the default connections for the component are as follows:

Pin/Property Connection
pin0 $PORTB.0
pin1 $PORTB.1
pin2 $PORTB.2
pin3 $PORTB.3
pin4 $PORTB.4
pin5 $PORTB.5
pin6 $PORTB.6
pin7 $PORTB.7
common $PORTA.0