3: Using the BASIC Stamp Editor
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 43
For BASIC Stamp projects (consisting of multiple programs), the BASIC
Stamp DOS Editor must be used to individually load and download each
of the files into the appropriate slot. Keep in mind that the DOS editor can
only load up one source code file at a time. NOTE: The Windows version
does not have this limitation.
Pressing ALT+# (where # is a number from 0 to 7) will change the ID
(shown on the title bar; see Figure 3.5) of the currently visible source code
in the editor. This ID is not saved with the program and must be set and
verified manually each time it is loaded from disk and before each
download.
The sequence of keystrokes to load and download two programs into two
separate program slots would consist of the following:
1. ALT+L loads a program into the editor.
2. ALT+0 sets the editor to program ID 0.
3. ALT+R downloads this program into program slot 0 of the BASIC
Stamp's EEPROM.
4. ALT+L loads another program into the editor.
5. ALT+1 sets the editor to program ID 1.
6. ALT+R downloads this program into program slot 1 of the BASIC
Stamp's EEPROM.
The shortcut key ALT+R downloads only one program at a time. Note that
you must load each program separately.
The BASIC Stamp DOS Editors for the BS2, BS2e, BS2sx and BS2p, also
feature a Memory Map (not shown) that displays the layout of the current
PBASIC program, DATA usage and RAM register usage. Type ALT+M to
activate this window.
When you activate the Memory Map, the editor will check your program
for syntax errors and, if the program’s syntax is OK, will present you with
a color-coded map of the RAM. You’ll be able to tell at a glance how much
Figure 3.5: Example Editor Title
Bar. Shown with the program ID
(slot #) set to 0
M
EMORY
M
AP
F
UNCTION
.
Содержание BASIC Stamp 2e
Страница 1: ...BASIC Stamp Programming Manual Version 2 0c...
Страница 30: ...Introduction to the BASIC Stamps Page 28 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 90: ...BUTTON BASIC Stamp Command Reference Page 88 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 118: ...END BASIC Stamp Command Reference Page 116 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 128: ...FREQOUT BASIC Stamp Command Reference Page 126 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 196: ...NAP BASIC Stamp Command Reference Page 194 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 206: ...OWIN BASIC Stamp Command Reference Page 204 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 214: ...OWOUT BASIC Stamp Command Reference Page 212 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 216: ...PAUSE BASIC Stamp Command Reference Page 214 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 226: ...POLLMODE BASIC Stamp Command Reference Page 224 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 232: ...POLLOUT BASIC Stamp Command Reference Page 230 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 236: ...POLLRUN BASIC Stamp Command Reference Page 234 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 240: ...POLLWAIT BASIC Stamp Command Reference Page 238 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 262: ...RCTIME BASIC Stamp Command Reference Page 260 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 274: ...RUN BASIC Stamp Command Reference Page 272 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 310: ...SEROUT BASIC Stamp Command Reference Page 308 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 324: ...STOP BASIC Stamp Command Reference Page 322 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...