Led Display Pin Diagram. To replace button a on the micro bit. Can be used for adc and digital i o when the led screen is turned off.
Generally these are a single led. If we want to display the number 0 then we need to glow all the leds except led which belongs to line g see 7 segment pin diagram above so we need a bit pattern 11000000. It depends on the type of the 7 segment either it is the common cathode or anode.
Polarity is indicated by the long lead anode or the flat on one side of the base cathode.
The circuit connections are below. This pin will common with ground power. A seven segment display is commonly used in electronic display device for decimal numbers from 0 to 9 and in some cases basic characters. The two pin package can contain a single or two back to back leds.