An explanation of the internal structure of seven-segment displays in both types (common cathode and common anode) and how to wire them to Arduino.