Seven segments: scan log
The device's 4-digit 7-segment display (common anode) was recorded with a logic analyser: display.csv. Columns: t_us, DIG1..DIG4, a,b,c,d,e,f,g, dp. The display is multiplexed: every 500 microseconds only one digit (DIGn = 1) is lit. On a common anode the segment lines are active = 0 (0 means the segment is on, 1 means it is off).
The display shows 16 hex characters, 4 at a time (4 frames). Each frame is repeated for several scan cycles, and the display is blank between frames. At the start and the end there is a lamp test (all segments and dots are lit) — it is not data. In some samples a trace of the neighbouring digit (ghosting) has leaked in: in every frame the majority of values for a given digit are correct.
Hex characters are displayed like this (A b C d E F):
0: abcdef 1: bc 2: abdeg 3: abcdg
4: bcfg 5: acdfg 6: acdefg 7: abc
8: abcdefg 9: abcdfg A: abcefg b: cdefg
C: adef d: bcdeg E: adefg F: aefg
aaa
f b
f b
ggg
e c
e c
ddd (dp)
Take the 16 displayed characters and assemble the flag: BAYROQ{YETTI_SEGMENT_<16 ta kichik hex>}.