I want to be able to call up different characters on the display in hexadecimal (such as when a button is pressed, the matrix shows the character: 0x1c, 0x22, 0x22, 0x02, 0x04, 0x08, 0x10, 0x3f which is a custom made "2" in hexadecimal.) How do I make so I can write hexadecimal to a matrix? Would it have something to do with something like this command line:
Code: Select all
int two[8] = {0x1c, 0x22, 0x22, 0x02, 0x04, 0x08, 0x10, 0x3f}; //set two[] to contain the hexadecimal values needed to make the character "2"
Code: Select all
static const byte ASCII[][5] ={
{0x00, 0x00, 0x00, 0x00, 0x00} // 20
,{0x00, 0x00, 0x5f, 0x00, 0x00} // 21 !
,{0x00, 0x07, 0x00, 0x07, 0x00} // 22 "
By the way, thanks Brad for teaching me about hexadecimal and how to convert binary into it!