From the course: Learning Arduino: Interfacing with Hardware

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

The 7-segment LED component

The 7-segment LED component

- [Woman] The 7-segment LED consists of LEDs, light-emitting diodes, that are arranged in a rectangular fashion. Each LED within the 7-segment display is an individual LED that has a cathode and anode side. An additional LED is sometimes used to refer to the decimal point. Each LED has a letter that we refer to when programming. We use a combination of LEDs to show the different numbers or letters. So, if you want to show zero, we would turn on the LEDS shown on the left. And if you want to show one, we would turn on the LEDs shown on the right. And the same thing applies to any other number or letter. This is the layout of the 7-segment LED that we are going to use in this section. The top and bottom are the pin numbers, and each pin is connected to a specific LED. So pin 7, for example, is connected to LED a. And the cc pin is referring to the common pin, so it's a common cathode or a common anode, depending on the…

Contents