

The Adafruit Charlieplex 9x16 Red is a versatile and compact LED matrix display that leverages the charlieplexing technique to control 144 red LEDs using a minimal number of microcontroller pins. This matrix is ideal for creating eye-catching displays for alphanumeric characters, simple graphics, and animations. Its small form factor makes it perfect for wearable electronics, small handheld devices, and any project where space is at a premium.








| Pin Number | Name | Description | 
|---|---|---|
| 1 | GND | Ground connection | 
| 2 | VCC | Power supply (3.3V - 5V) | 
| 3 | SDA | I2C Data line | 
| 4 | SCL | I2C Clock line | 
| 5 | ADDR | I2C Address selection (connect to GND or VCC) | 
#include <Wire.h>
#include <Adafruit_IS31FL3731.h>
// Create the LED driver object
Adafruit_IS31FL3731 matrix = Adafruit_IS31FL3731();
void setup() {
  Wire.begin(); // Start I2C
  matrix.begin(); // Initialize the LED matrix
}
void loop() {
  // Display a pattern on the matrix
  for (uint8_t i = 0; i < 9; i++) {
    for (uint8_t j = 0; j < 16; j++) {
      matrix.drawPixel(i, j, (i + j) % 2 ? 255 : 0); // Checkerboard pattern
    }
  }
  delay(500);
  matrix.clear(); // Clear the display
  delay(500);
}
Q: Can I use more than one Charlieplex 9x16 Red matrix at a time? A: Yes, you can use two matrices on the same I2C bus by setting different addresses using the ADDR pin.
Q: How do I control individual LEDs?
A: Individual LEDs can be controlled using the drawPixel function provided by the Adafruit IS31FL3731 library.
Q: What is the maximum brightness for the LEDs? A: The maximum brightness is achieved by setting the LED current to 20mA. However, for extended lifespan and reliability, it is recommended to operate at a lower current.
Q: Can I use this matrix with a 3.3V system? A: Yes, the matrix can operate at 3.3V, but ensure that the I2C logic levels are compatible with your microcontroller.