Chess 960 position generator

I'm just going to print it on a pair of DL2416 LED displays, or some kind of 8-digit intelligent display. I have a few HDSP 2115 displays that would work nice. I'll have it print the 8 digits, wait a little time and then go into sleep/power down. The reset button will start it back up and display a new position.

I started messing with trying to shove the results char by char into an array called back_rank, but I was getting 'array bound is not an integer constant.'