The problem is here. This terminates the binary conversion as soon as the most significant '1' bit is processed. Change it so it counts 8 bits.
1 Like
The problem is here. This terminates the binary conversion as soon as the most significant '1' bit is processed. Change it so it counts 8 bits.