Working with font larger than 8x8

Storing 8x8 font is relatively simple in array of bytes. 1 represents on, 0 off.

byte w[8]={B00000000,B10010010,B10101010,B10101010,B10101010,B10101010,B10101010,B01000100};

But how would I go about working with 16x16 font? Integer is 2 bytes, but I have no idea how would I store something like B1000000100000010? Any clues? :slight_smile:

Any clues?

Use hex notation, instead.

Or use the 0bxxx notation, eg.

void setup ()
  {
  int foo = 0b1000000100000010;  
  }  // end of setup
  
void loop () { }

PaulS:

Any clues?

Use hex notation, instead.

Nice! Thanks!