I have an alphabet defined as such:
#define A { \
{0, 0, 0, 1, 1, 0, 0, 0}, \
{0, 0, 1, 0, 0, 1, 0, 0}, \
{0, 0, 1, 0, 0, 1, 0, 0}, \
{0, 1, 1, 1, 1, 1, 1, 0}, \
{0, 1, 1, 0, 0, 1, 1, 0}, \
{0, 1, 0, 0, 0, 0, 1, 0}, \
{0, 1, 0, 0, 0, 0, 1, 0}, \
{0, 1, 0, 0, 0, 0, 1, 0} \
}
and I can combine them into a 3-dimensional byte array like this:
byte patterns[10][8][8] = {SPACE, G,O,SPACE,B,L,U,E,SPACE,SPACE};
But how can I assign new values to it, without creating an entire new byte array? This is what I'm trying to do:
patterns[10][][] = {SPACE, G,O,SPACE,O,H,I,O,SPACE,SPACE};
I am trying to save space. I currently have 3 separately declared byte arrays and I only use them one at a time, so I could definitely just reassign the values for each array.