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

From Flowcode Help
Jump to navigationJump to search
Line 8: Line 8:
  
  
In Flowcode the [[Component ID 52c5383b 4f48 4029 8b75 c3633f7cf892|7 Segment Single]] component is connected like so; pin 0-7 is connected to Port B 0-7 and the common pin is connected to Port A 0.
+
Seven-segment displays may use [[What Is an LCD?|liquid crystal display (LCD)]], a [[What Is an LED?|light-emitting diode (LED)]] for each segment or other light generating or controlling techniques. The [[Component ID 52c5383b 4f48 4029 8b75 c3633f7cf892|7 Segment Single]] and [[Component ID f4400e36 dd95 4472 86da 4bba68d68d5d|7 Segment Quad]] Flowcode components use LED displays by default.
 +
 
 +
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.
 +
 
  
 +
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:
  
Seven-segment displays may use [[What Is an LCD?|liquid crystal display (LCD)]], a [[What Is an LED?|light-emitting diode (LED)]] for each segment or other light generating or controlling techniques. The [[Component ID 52c5383b 4f48 4029 8b75 c3633f7cf892|7 Segment Single]] and [[Component ID f4400e36 dd95 4472 86da 4bba68d68d5d|7 Segment Quad]] Flowcode components use LED displays by default.  
+
{| class="wikitable"
 +
|-
 +
!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
 +
|}
  
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.
+
pin 0-7 is connected to Port B 0-7 and the common pin is connected to Port A 0.

Revision as of 11:05, 15 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 by default.

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.


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

pin 0-7 is connected to Port B 0-7 and the common pin is connected to Port A 0.