// Custom 16x16 font bitmap for character 'H' (example)
const uint8_t customFont[32] = {
0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81,
0xC3, 0x00, 0x00, 0x00, 0x00, 0xC3, 0xC3, 0xFF,
0xE7, 0xE7, 0xE7, 0x00, 0x00, 0xE7, 0xE7, 0xE7,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
};
void setup()
{
Serial.begin(9600);
displayCustomChar(customFont);
}
void loop()
{
// No animation, static display
}
// Function to display a custom 16x16 character
void displayCustomChar(const uint8_t *charMap)
{
for (uint8_t row = 0; row < 8; row++) {
for (uint8_t col = 0; col < 2; col++) {
// Calculate the appropriate device number
uint8_t deviceNum = col * 8 + row;
// Set the row for each part of the character
if (col == 0) {
// mx.setRow(deviceNum, charMap[row]); // Left 8x8
Serial.println(charMap[row]);
} else {
// mx.setRow(deviceNum, charMap[row + 16]); // Right 8x8
Serial.println(charMap[row + 16]);
}
}
}
}