
Originally Posted by
djmachine
Hello. Exactly as the title states.. how do I display a decimal larger than 255? I am storing a count in two bytes in an array and would like to display the 2 bytes as a decimal on the LCD which can be 0 - 65535?
Thanks!
how about:
Code:
MyWord = LowByte + HighByte << 8 ' Multiply HighByte by 256 (left shift 8) and add LowByte
LCDOUT $fe,$1, MyWord
Aratti had it right in post #4 I think, except I did it with leftshift instead of multiply by 256. Same thing...
Steve
Bookmarks