This story is not configured to handle controls. Learn how to add controls
Name | Description | Default | Control |
---|---|---|---|
properties | |||
color | The color of a lit segment string | "red" | - |
offColor | The color of an unlit segment string | "#444" | - |
background | The background color of the 7-segment display string | "black" | - |
digits | Number of digits to display (1, 2 or 4 are common values) number | 1 | - |
colon | Whether to show a colon (clock mode) boolean | false | - |
colonValue | Whether the colon is lit or not boolean | false | - |
pins | Pin format. "top""extend""none" | "top" | - |
values | The values for the individual segments. Each digit has 8 segment values in the following order: A, B, C, D, E, F, G, DP The values are 1 for a lit segment, and 0 for an unlit segment. number[] | [0,0,0,0,0,0,0,0] | - |
pinInfo | ElementPin[] | - | |
events | |||
pininfo-change | - |