if myByte=00001111
the flipped version of this would be
myByteFlipped=11110000
Similarly if myByte=00000001
myByteFlipped=11111110
You could do this with 255 if statements, but see if you can figure out a better way of doing it, and then demonstrate your results using the circuit we have been using in the last few lessons.