Rotate a 7-segment display in firmware
Looks like the pinout is, from most to least significant bit, G F E D C dot A B. 

You could write some code along the lines of

rotatedChar=0;
if (char &amp; 0x01) rotatedChar|=0x20;
if (char &amp; 0x02) rotatedChar|=0x10;
// six more lines here.