Timelapse with 4-digit 7 segment problem

int digits[11][7] = { { 1,1,1,1,1,1,0 },  // = 0
                      { 0,1,1,0,0,0,0 },  // = 1
                      { 1,1,0,1,1,0,1 },  // = 2
                      { 1,1,1,1,0,0,1 },  // = 3
                      { 0,1,1,0,0,1,1 },  // = 4
                      { 1,0,1,1,0,1,1 },  // = 5
                      { 1,0,1,1,1,1,1 },  // = 6
                      { 1,1,1,0,0,0,0 },  // = 7
                      { 1,1,1,1,1,1,1 },  // = 8
                      { 1,1,1,0,0,1,1 },  // = 9
                      { 0,0,0,0,0,0,0 }   // = blank
                      };

OT: RAM is a very precious resource.
Using 1232 bits of it to store 77 bits worth of information is wasteful in the extreme.