Something is wrong with the code what you post for clear screen.
If I put it in Bascom and write it to uC in the terminal window of Bascom integrated terminal and HyperTerminal too I got this on the scree:
Code:
&H1B , "[2J" &H1B , "[2J" &H1B , "[2J"...
It would bee ok if I could use some clear screen in Hyperterminal, it's ok for me...
Man, what about thinking? This is from link in one of answears
Quote:
<ESC> represents the ASCII "escape" character, 0x1B. Bracketed tags represent modifiable decimal parameters; eg. {ROW} would be replaced by a row number.
Quote:
Erase Screen <ESC>[2J
Erases the screen with the background colour and moves the cursor to home.
Now look at the ASCII table
You can read so your Chr(13) is Carriage return.
You need Escape - look there is! 27! Simply?
One day I use it for convert String of Time and Date from GPS for displaying it on LED 7seg. I must remove - 48 from each Byte received from GPS modul.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum