VGA.spin or VGA_Text.spin - Clear Screen?
John Kauffman
Posts: 653
I have been unable to find an ASCII code or constant to clear screen in VGA.spin or VGA_Text.spin. This would be a code like 9 for tab.
The references I have found to ASCII control codes do not have a code for CLS listed.
Parallax_Serial_Terminal.spin uses:
For following
Thanks.
The references I have found to ASCII control codes do not have a code for CLS listed.
Parallax_Serial_Terminal.spin uses:
CS = 16 ''CS: Clear Screen
For following
repeat VgaText.str(STRING(16,"My Text"))I get a delta symbol for the 16, plus MyText repeated on new lines
Thanks.
spin
856B
Comments
John Abshier
How did you figure that out? Maybe next time I can solve a similar problem myself.
John Abshier
If you load the VGA_Text object into the PropellerTool and click on ()Documentation under the Tabs, then you get the description extracted from the source code.
Andy