Pixie Chroma
Documentation for the easiest 5x7 LED displays for Arduino!
pixie_font.h File Reference

Go to the source code of this file.

Variables

const uint8_t font_col_width = 5
 Constant defining the width of a character. More...
 
const uint8_t printable_ascii_offset = 32
 Constant defining the offset into the ASCII table that printable characters begin. More...
 
const uint8_t font[480] PROGMEM
 Internal lookup table for ASCII font bitmaps. More...
 

Detailed Description

Contains the ASCII font for Pixie Chroma

Last Updated by Connor Nishijima on 10/21/21

Definition in file pixie_font.h.

Variable Documentation

◆ font_col_width

const uint8_t font_col_width = 5

Constant defining the width of a character.

Definition at line 13 of file pixie_font.h.

◆ printable_ascii_offset

const uint8_t printable_ascii_offset = 32

Constant defining the offset into the ASCII table that printable characters begin.

Definition at line 16 of file pixie_font.h.

◆ PROGMEM

const uint8_t font [480] PROGMEM

Internal lookup table for ASCII font bitmaps.

For example, here is the binary bitmap for the character '5', in 5 columns of 8 bits:

B00101111, B01001001, B01001001, B01001001, B00110001

OR, WRITTEN VERTICALLY:

1   1   1   1   1  LSB
1   0   0   0   0
1   0   0   0   0
1   1   1   1   0
0   0   0   0   1
1   0   0   0   1
0   1   1   1   0  
0   0   0   0   0  MSB (unused)
B   B   B   B   B

Notice how the '1' bits above form a '5' when written out this way.

Definition at line 42 of file pixie_font.h.