The Stamp must then send the promised number of bytes to the interface, and accept the designated number of returned bytes. The overdrive version accomplishes the device command and data exchanges with overdrive-capable devices at overdrive speeds. The strong pullup command sequence works at normal speeds, but supplies additional current capacity to the bus upon completion of all data exchanges. The normal command sequence works at normal speeds and leaves the bus in the normal open drain state. The following command codes are defined to control the interface chip.
Most descriptions also have links to example use in actual Stamp programs.
This command code causes the interface to send operational and housekeeping status data back in a single byte. This command may be also be used to verify communication with the interface chip itself, even if no devices are present on the 1-Wire bus. The interface scans the bus to determine the quantity and serial identification of all 1-wire devices present. The serial identifiers are stored in the interface for future use. This works the same as the Device Count command except only overdrive-capable devices are detected and counted.