My program returns a single byte.
I would like to display this byte on the screen as a binary number using images instead of 1's and 0's
So, instead of showing 1's and 0's it would display image1 for bit1 and image0 for bit 0
Only 2 images are used - image0 and image1 to represent a "0" bit or "1" bit
For example: Byte = 0A hex or (10 Dec)
in Binary this is 000010010
on the screen I want to display 8 images (one for each bit)
image0 - image0 - image0 - image0 - image1 -image0 - image0 - image1 - image0
Any ideas how to code this?
I would like to display this byte on the screen as a binary number using images instead of 1's and 0's
So, instead of showing 1's and 0's it would display image1 for bit1 and image0 for bit 0
Only 2 images are used - image0 and image1 to represent a "0" bit or "1" bit
For example: Byte = 0A hex or (10 Dec)
in Binary this is 000010010
on the screen I want to display 8 images (one for each bit)
image0 - image0 - image0 - image0 - image1 -image0 - image0 - image1 - image0
Any ideas how to code this?