EasyManua.ls Logo

Parallax BASIC Stamp 2e - Page 81

Default Icon
353 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 065535 milliseconds.
POLLWAIT Pause until a polled-interrupt occurs.
p
2
p
2
p
2
p
2
p
2
p
2
p
2
p
2
p
2
p
2
p
2
1
p
2
2
e
2
sx
2
p
2
2
e
2
sx
2
p
2
2
e
2
sx
2
p
2

Table of Contents

Related product manuals