The Adafruit Quad AlphaNumeric FeatherWing is a versatile and compact display module that features four high-contrast red 14-segment alphanumeric LED displays. This component is specifically designed to stack on top of any Adafruit Feather board, providing a convenient and easy-to-read output for displaying data such as time, sensor readings, or custom messages. The use of an I2C interface allows for minimal pin usage and straightforward communication with a microcontroller.
Pin Name | Description |
---|---|
GND | Ground pin, common reference for power and logic |
3V | 3.3V power supply pin |
SDA | I2C data line |
SCL | I2C clock line |
RST | Reset pin (optional use) |
#include <Wire.h>
#include <Adafruit_LEDBackpack.h>
#include <Adafruit_GFX.h>
Adafruit_AlphaNum4 alpha4 = Adafruit_AlphaNum4();
void setup() {
alpha4.begin(0x70); // Initialize the display with its I2C address
}
void loop() {
alpha4.writeDigitAscii(0, 'A'); // Display 'A' on the first character
alpha4.writeDigitAscii(1, 'd'); // Display 'd' on the second character
alpha4.writeDigitAscii(2, 'a'); // Display 'a' on the third character
alpha4.writeDigitAscii(3, 'F'); // Display 'F' on the fourth character
alpha4.writeDisplay(); // Send data to the display to show it
delay(1000); // Wait for a second
alpha4.clear(); // Clear the display
alpha4.writeDisplay(); // Send the clear command to the display
delay(1000); // Wait for a second
}
Wire
library's Wire.beginTransmission()
and Wire.endTransmission()
functions to check for a response from the display's I2C address to confirm communication.Q: Can I use this display with boards other than Adafruit Feather? A: Yes, as long as the board supports I2C communication and operates within the voltage range of the display.
Q: How do I change the brightness of the display?
A: The HT16K33 driver chip supports PWM brightness control. Use the setBrightness()
function provided by the Adafruit LED Backpack library to adjust the brightness level.
Q: Can I display special characters on the FeatherWing? A: The 14-segment display can show a variety of characters and symbols. Check the Adafruit GFX library for supported characters and custom glyph creation.