Common anode 7 segment display

Why not just

byte digits []{
 0b10000001; // 0
...

??