The Adafruit 7 Segment FeatherWing - Yellow is a compact, easy-to-use LED display module designed for displaying numerical data and simple alphanumeric characters. This module features a seven-segment LED display with bright yellow digits, making it highly visible even in well-lit conditions. It is commonly used in digital clocks, timers, counters, and other projects where numerical output is required.
Pin | Description |
---|---|
GND | Ground connection |
VCC | Power supply (3.3V to 5V) |
SDA | I2C data line |
SCL | I2C clock line |
RST | Reset pin (optional use) |
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_LEDBackpack.h>
Adafruit_7segment matrix = Adafruit_7segment();
void setup() {
matrix.begin(0x70); // Initialize the display with its I2C address
}
void loop() {
matrix.print(1234); // Display the number 1234
matrix.writeDisplay(); // Refresh the display with new data
delay(500); // Wait for half a second
}
Q: Can I use this display with a 3.3V system? A: Yes, the display can operate at 3.3V, but ensure that the I2C logic levels are compatible.
Q: How do I change the I2C address? A: Adjust the address by changing the position of the jumpers on the back of the display module.
Q: Can I display letters as well as numbers? A: The display can show some basic alphanumeric characters (e.g., A, b, C, d, E, F).
Q: How many of these displays can I chain together? A: You can chain up to 8 displays by setting unique I2C addresses for each using the onboard jumpers.