5: BASIC Stamp Command Reference – OWOUT
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 209
This reset pulse is controlled by the lowest two bits of the Mode argument
in the OWOUT command. It can be made to appear before the ROM
Function Command (ex: Mode = 1), after the Transaction/Data portion (ex:
Mode = 2), before and after the entire transaction (ex: Mode = 3) or not at all
(ex: Mode = 0). See the section on Mode, above, for more information.
Following the Initialization part is the ROM Function Command. The
ROM Function Command is used to address the desired 1-wire device.
Table 5.52 shows common ROM Function Commands. If only a single
1-wire device is connected, the Match ROM command can be used to
address it. If more than one 1-wire device is attached, the BASIC Stamp
will ultimately have to address them individually using the Match ROM
command.
Command
Value (in Hex)
Action
Read ROM
$33
Reads the 64-bit ID of the 1-wire device. This command
can only be used if there is a single 1-wire device on the
line.
Match ROM
$55
This command, followed by a 64-bit ID, allows the BASIC
Stamp to address a specific 1-wire device.
Skip ROM
$CC
Address a 1-wire device without its 64-bit ID. This
command can only be used if there is a single 1-wire
device on the line.
Search ROM
$F0
Reads the 64-bit IDs of all the 1-wire devices on the line. A
process of elimination is used to distinguish each unique
device.
BASIC Stamp’s
Reset Pulse
Apx. 564 s
µ
Device’s
Presence
Pulse
60 - 240 s
µ
Resting State
15 - 60 s
µ
driven by BASIC Stamp
driven by 1-wire device
+5 (vdd)
0 (vss)
Figure 5.22: OWOUT Reset and
Presence Pulse.
Table 5.52: OWOUT ROM Function
Commands.
Содержание BASIC Stamp 1
Страница 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...