11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.9. CLSSyntax :Overview :CLSClears the alphanumeric or graphic LCD and places the cursor at thehome position i.e. line 1, position 1Example : CLS ‘ Clear the LCDPRINT "HELLO" ‘ Display the word “HELLO” on the LCDCURSOR 2 , 1 ‘ Move the cursor to line 2, position 1PRINT "WORLD" ‘ Display the word “WORLD” on the LCDIn the above example, the LCD is cleared using the CLS command,which also places the cursor at the home position i.e. line 1, position1. Next, the word HELLO is displayed in the top left corner. The cursoris then moved to line 2 position 1, and the word WORLD is displayed.See also :CURSOR, DECLARE, see PRINT for an LCD connection circuit.36Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!