#include <ONEWIRE.bas> ' source in /Program Files/Coridium/BASIClib
FUNCTION OWOUT (pin, OUTcnt, BYREF OUTlist as string)
If a one-wire device responds the FUNCTION OWOUT will return 1, else 0.
Following that OUTcnt bytes from the OUTlist will be sent to the device. If OUTcnt is 0, then bytes will be sent from OUTlist until a 0 is found. (the 0 is NOT sent).
The bit order for the 1-Wire device is assumed to be LSB (bit 0) first. The REV function can be used to change the bit order.