7 segment LED

So make a table like

Erm, that's not a table. That's a collection of variables.

This is a table:

byte digitPatterns [] = {B11111100,
 B01100000,
 B11011010,
 B11110010,
 B01100110,
 B10110110,
 B00111110,
 B11100000,
 B11111110,
 B11110110};