1WIRE0 BEGIN [pin] [pull]
pinparameter can be set to any of the IO pins
pullparameter can be omitted if not using the internal pull-up resistors or set to
PULLto enable the pull-up resistor (available on channels 0 and 2).
1WIRE0 WRITE [data] [power]
dataparameter is the 8-bit integer (byte) to write on the bus.
powerparameter indicates whether or not to leave the power applied to the device after the write has completed. This parameter is optional and will turn off power by default. To leave power on after the write, set power equal to
1WIRE0 READ [data]
1WIRE0 SEARCH [searchMode]
RESETto restart the search from the first device.
CONDto begin a conditional search.
searchmodeto the family code of a 1-Wire device to search for devices of the same device family.
1WIRE0 ADDR ?
1WIRE0 WHR [cmd] [bytesToRead] [bytesToWrite] [hexPayload]
cmdparameter instructs Nova to optionally begin the transaction with a SKIP or SELECT command. The possible values for this parameter are
bytesToReadparameter indicates the number of bytes to read after writing the hexPayload to the 1-Wire bus. This value can be from
bytesToWriteparameter indicates the number of bytes to read to the 1-Wire bus. This value can be from
1024and must match the length of the
hexPayloadparameter is the data that will be written to the 1-Wire bus. This parameter should be entered as a string of hex values without a leading "0x" and no spaces. The length must match the bytesToWrite parameter.
NGwhen the WHR command is used only to write data (bytesToRead = 0) to the 1-Wire bus. When the WHR command is used to perform a read operation, the response will contain the requested number of data bytes read from the bus, or
NGindicating that command failed to execute successfully.