EasyManuals Logo

Parallax BASIC Stamp II User Manual

Default Icon
68 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #12 background imageLoading...
Page #12 background image
Page 12 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
BASIC Stamp II
PULSOUT Output a timed pulse by inverting a pin for some
time (resolution of 2 µs).
BUTTON Debounce button, perform auto-repeat, and branch
to address if button is in target state.
SHIFTIN Shift bits in from parallel-to-serial shift register.
SHIFTOUT Shift bits out to serial-to-parallel shift register.
COUNT Count cycles on a pin for a given amount of time
(0 - 125 kHz, assuming a 50/50 duty cycle).
XOUT Generate X-10 powerline control codes. For use
with TW523 or TW513 powerline interface module.
SERIAL I/O
SERIN Serial input with optional qualifiers, time-out, and
flow control. If qualifiers are given, then the in-
struction will wait until they are received before
filling variables or continuing to the next instruc-
tion. If a time-out value is given, then the instruc-
tion will abort after receiving nothing for a given
amount of time. Baud rates of 300 - 50,000 are
possible (0 - 19,200 with flow control). Data re-
ceived must be N81 (no parity, 8 data bits, 1 stop
bit) or E71 (even parity, 7 data bits, 1 stop bit).
SEROUT Send data serially with optional byte pacing and
flow control. If a pace value is given, then the
instruction will insert a specified delay between
each byte sent (pacing is not available with flow
control). Baud rates of 300 - 50,000 are possible (0
- 19,200 with flow control). Data is sent as N81 (no
parity, 8 data bits, 1 stop bit) or E71 (even parity, 7
data bits, 1 stop bit).
ANALOG I/O
PWM Output PWM, then return pin to input. This can be
used to output analog voltages (0-5V) using a
capacitor and resistor.
RCTIME Measure an RC charge/discharge time. Can be
used to measure potentiometers.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Parallax BASIC Stamp II and is the answer not in the manual?

Parallax BASIC Stamp II Specifications

General IconGeneral
BrandParallax
ModelBASIC Stamp II
CategoryMicrocontrollers
LanguageEnglish