The Adafruit White 15x7 CharliePlex FeatherWing is an innovative LED matrix display designed for use with the Adafruit Feather development boards. It features a 15x7 grid of 105 individually addressable white LEDs, which are controlled using the Charlieplexing technique to minimize pin usage. This component is ideal for creating custom graphics, text, and animation displays in a compact form factor.
Pin | Description |
---|---|
GND | Ground connection |
VCC | Power supply (3.3V to 5V) |
SDA | I2C Data line |
SCL | I2C Clock line |
ADDR | I2C Address selection (optional) |
#include <Wire.h>
#include <Adafruit_IS31FL3731.h>
// Create the LED driver object
Adafruit_IS31FL3731 ledDriver;
void setup() {
Wire.begin(); // Start I2C
if (!ledDriver.begin()) {
Serial.println("IS31FL3731 not found");
while (1);
}
Serial.println("IS31FL3731 found!");
}
void loop() {
// Clear the frame buffer
ledDriver.clear();
// Draw a simple pattern
for (int i = 0; i < 15; i++) {
ledDriver.drawPixel(i, i % 7, 127); // Draw diagonal line
}
// Display the frame buffer on the LEDs
ledDriver.displayFrame();
delay(100); // Small delay to see the changes
}
Q: Can I use this FeatherWing with a 5V microcontroller? A: Yes, the CharliePlex FeatherWing can operate with a 5V microcontroller, as long as the VCC pin is connected to a 5V source.
Q: How many of these FeatherWings can I chain together? A: You can chain multiple FeatherWings together by ensuring each has a unique I2C address. The exact number depends on the I2C address range and your microcontroller's capabilities.
Q: Can I control the brightness of individual LEDs? A: Yes, the IS31FL3731 driver allows for individual LED brightness control using PWM.
Q: Is there a library available for easier programming? A: Yes, Adafruit provides the IS31FL3731 library for Arduino, which simplifies programming the CharliePlex FeatherWing.
Remember to always refer to the official Adafruit documentation and datasheets for the most accurate and detailed information about the Adafruit White 15x7 CharliePlex FeatherWing.