Hi and Welcome
Assuming your variable is called MyByte...
LCDOUT $FE,1,BIN8 MyByte
Will clear the LCD, locate to Column 1, Line 1 and display all eight bits of MyByte.
ie... if MyByte=65, the LCD will show 01000001
Look in the SEROUT2 section of your manual... BINx can be any number from 1 to 16, so you can display a whole word with LCDOUT BIN16 MyWord.
See also the HEX and DEC modifiers whilst you're there...





Bookmarks