BASIC Stamp Command Reference
Page 78
•
BASIC Stamp Programming Manual 2.0b
•
www.parallaxinc.com
RAM ACCESS
GET
Read Scratch Pad RAM byte into variable.
PUT
Write byte into Scratch Pad RAM.
NUMERICS
LET
Optional instruction to perform variable
manipulation, such as A=5, B=A+2, etc. This
instruction is not required and only exists on the
BASIC Stamp 1.
LOOKUP
Lookup data specified by offset and store in
variable. This instruction provides a means to make
a lookup table.
LOOKDOWN
Find target’s match number (0-N) and store in
variable.
RANDOM
Generate a pseudo-random number.
DIGITAL I/O
INPUT
Make pin an input.
OUTPUT
Make pin an output.
REVERSE Reverse direction of a pin.
If pin is an output, make
it an input. If pin is an input, make it an output.
LOW
Make pin output low.
HIGH
Make pin output high.
TOGGLE
Make pin an output and toggle state.
PULSIN
Measure an input pulse.
PULSOUT
Output a timed pulse by inverting a pin for some
time.
BUTTON
Debounce button, perform auto-repeat, and branch
to address if button is in target state.
COUNT
Count cycles on a pin for a given amount of time.
XOUT
Generate X-10 power line control codes. For use
with TW523 or TW513 power line interface module.
AUXIO
Activates auxiliary I/O pins in place of main I/O.
MAINIO
Activates main I/O pins in place of auxiliary I/O.
1
p
2
p
2
e
2
sx
2
p
2
e
2
sx
2
p
2
e
2
sx
2
p
2
e
2
sx
2
p
2
Содержание 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...