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.
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
Содержание 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...