
5: BASIC Stamp Command Reference - DEBUG
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 105
received, the Debug Terminal wraps back around to the opposite side of
the screen.
The Clear Right control character clears the characters that appear to the
right of, and on, the cursor's current position. The cursor is not moved by
this action.
The Clear Down control character clears the characters that appear below,
and on, the cursor's current line. The cursor is not moved by this action.
Name
Symbol
ASCII
Value
Description
Clear Screen
CLS
0
Clear the screen and place cursor at home
position.
Home
HOME
1
Place cursor at home in upper-left corner of
the screen.
Move To (x,y)*
2
Move cursor to specified location. Must be
followed by two values (x and then y)
Cursor Left*
3
Move cursor one character to left.
Cursor Right*
4
Move cursor one character to right.
Cursor Up*
5
Move cursor one character up.
Cursor Down*
6
Move cursor one character down.
Bell
BELL
7
Beep the PC speaker.
Backspace
BKSP
8
Back up cursor to left one space.
Tab
TAB
9
Tab to the next column.
Line Feed*
10
Move cursor down one line.
Clear Right*
11
Clear line contents to the right of cursor.
Clear Down*
12
Clear screen contents below cursor.
Carriage Return
CR
13
Move cursor to the first column of the next
line (shift any data on the right down to that
line as well)
* This control character only works with the Windows version of the editor software.
DEBUG is actually a special case of the SEROUT instruction. It is set for
inverted (RS-232-compatible) serial output through the programming
connector (the SOUT pin) at 9600 baud, no parity, 8 data bits, and 1 stop
bit. For example,
DEBUG "Hello"
is exactly like:
SEROUT 16, $4054, ["Hello"]
Table 5.6: Special Control
Characters.
2
T
ECHNICAL
B
ACKGROUND
Summary of Contents for BASIC Stamp 1
Page 1: ...BASIC Stamp Programming Manual Version 2 0c...
Page 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Page 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Page 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Page 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...