https://instrumentationtools.com/seven-segment-display-programming/
Seven Segment Display Programming with Structured Text