189 of 286
175 Put1WireByte Type Subroutine Invocation Put1WireByte(pin, value) Parameter Method Type Description pin ByVal Byte The pin to be used for 1-Wire I/O. value ByVal Byte The value to write. Discussion This routine sends a byte (LSB first) using the 1-Wire protocol. To perform a 1-Wire operation, this function along with related 1-Wire routines must be used in the proper sequence. See the specifications of your 1-Wire device for more information. Example Call Put1WireByte(12, &H55) Resource Usage This routine uses the I/O Timer and disables interrupts for about 100µS for each bit sent. Compatibility This routine is not available in BasicX compatibility mode. See Also Get1Wire, Get1WireByte, Get1WireData, Put1Wire, Put1WireData, Reset1Wire