Each of the seven segments (A – G) and the decimal point (P ) are connected in the same way as an LED, in series with a resistor.
One of the Com (common) ports are connected to ground . This acts as a single cathode for all of the LEDs in the seven segment display.