5: BASIC Stamp Command Reference
BASIC Stamp Programming Manual 2.0c • www.parallaxinc.com • Page 79
IOTERM Activates specified I/O pin group.
POLLIN Specify pin and state for a polled-interrupt.
POLLOUT Specify pin and state for output upon a polled-
interrupt.
POLLMODE Specifies the polled-interrupt mode.
ASYNCHRONOUS SERIAL I/O
SERIN Input data in an asynchronous serial stream.
SEROUT Output data in an asynchronous serial stream.
OWIN Input data from a 1-wire device.
OWOUT Output data to a 1-wire device.
SYNCHRONOUS SERIAL I/O
SHIFTIN Shift data in from synchronous serial device.
SHIFTOUT Shift data out to synchronous serial device.
I2CIN Input data in from I2C serial device.
I2COUT Output data out toI2C serial device.
PARALLEL I/O
LCDCMD Writes a command to an LCD.
LCDIN Reads data from an LCD.
LCDOUT Writes data to an LCD.
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.
POT Read a 5K - 50K ohm potentiometer and scale result.
RCTIME Measure an RC charge/discharge time. Can be used
to measure potentiometers.
TIME
PAUSE Pause execution for 0–65535 milliseconds.
POLLWAIT Pause until a polled-interrupt occurs.
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2