Countdown Display with PFx Brick
6
0
0
0
0
ShareFavoritePlaylistsFlag
brickelectronic
brickelectronic
Published
This is a Test how to connect a Seven-Segment-LED-Display with common Anode to the PFx Brick and how to control it to realize an count down Display.
The PFx Brick requires Firmware 1.40 to define Scripts and load it into the Brick.

Testanbindung eines 7-Segment LED-Displays mit gemeinsamer Anode an den PFx Brick.
Hier wird die Möglichkeit in der Firmware 1.40 genutzt, Effekt-Scripte zu definieren und in den Baustein zu laden.

# Count Down with 7-Segment-Display with common Anonde 9 - 0
# a
# f |---| b
# -g-
# e |---| c
# d
#
# a = 1, b = 2, c = 3, d = 4, e = 5, f = 6, g = 7

# Start (9)
light [4,5] off
light [1,2,3,6,7] on
wait 1

# (8)
light [1,2,3,4,5,6,7] on
wait 1

# (7)
light [4,5,6,7] off
light [1,2,3] on
wait 1

# (6)
light [1,2] off
light [3,4,5,6,7] on
wait 1

# (5)
light [2,5] off
light [1,3,4,6,7] on
wait 1

# (4)
light [1,4,5] off
light [2,3,6,7] on
wait 1

# (3)
light [5,6] off
light [1,2,3,4,7] on
wait 1

# (2)
light [3,6] off
light [1,2,4,5,7] on
wait 1

# (1)
light [1,4,5,6,7] off
light [2,3] on
wait 1

# (0)
light [7] off
light [1,2,3,4,5,6] on
wait 1

stop
Expand