Cannot display byte as binary using sprintf()

You could print the value in hex.
Hex to binary is easy to do in your head, decimal to binary isn't quite so simple.