I wonder if someone could explain the
"MyByte=(MyWord//6)+1" part? // = Remainder (Modulus)? It isn't clear to me what this is doing and how it is extracting the 6 variables.

I need to randomize 8 LEDs and would like to understand it better.

Thanks
Bo