Specifications

BASIC Stamp I and Stamp II Conversions
Page 424 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
RCTIME
BASIC STAMP I
POT pin, scale, bytevariable
PIN is a constant or a bit, byte or word variable in the range 0..7.
SCALE is a constant or a bit, byte or word variable in the range
0..255.
BYTEVARIABLE is a byte variable.
BASIC STAMP II
RCTIME pin, state, variable
PIN is a constant, expression or a bit, nibble, byte or word variable
in the range 0..15.
STATE is a constant, expression or a bit, nibble, byte or word vari-
able in the range 0..1.
VARIABLE is a bit, nibble, byte or word variable.
CONVERSION: BS1 R BS2
1.Modify the circuit connected to PIN to look similar to the follow-
ing diagram. (Note, your values for the resistors and capacitor
may be different).
2.Insert two lines before the POT command as follows:
HIGH pin ; where PIN is the same PIN in the POT command.
0.1uF
PIN
10 K (Pot)
+5
220