Example

  OWWRBYTE Pin, ByteVal

Function
Writes one byte (eight bits) to the 1-Wire bus.

Quick Facts
  All SX Models
 Special Notes  The DQ pin (specified by Pin) must have a 4.7 kΩ pull-up resister.
 1-Wire commands require a FREQ setting of 4 MHz or higher.
 Transmission rate  ~12 kBits/Sec (not including Reset)

Explanation
After reset, 1-Wire transactions require writing values to the bus. A bit is written by generating a timed low pulse on the DQ line; this is called a "Write Slot" (see OWWRBIT for details). The OWWRBYTE instruction generates eight Write Slot sequences to put ByteVal on the 1-Wire bus.


Related instructions: OWRESET, OWRDBIT, OWRDBYTE, and OWWRBIT