Arduino Tutorial 64 !!better!!
| Display Segment | Arduino Pin | Resistor | |----------------|-------------|----------| | Segment A | 2 | 220Ω | | Segment B | 3 | 220Ω | | Segment C | 4 | 220Ω | | Segment D | 5 | 220Ω | | Segment E | 6 | 220Ω | | Segment F | 7 | 220Ω | | Segment G | 8 | 220Ω | | Decimal Point (DP) | 9 | 220Ω | | Digit 1 Common | 10 | None | | Digit 2 Common | 11 | None |
A typical 2-digit 7-segment display has 18 pins: arduino tutorial 64
Because each digit is active only 50% of the time, you may need to increase current slightly—but resistors prevent damage. | Display Segment | Arduino Pin | Resistor