owReadData (Function) |
Top Previous Next |
This function will read data from the 1-Wire net. A device must first have been selected with owAccess. If the lock has not been acquired, all data will be read as if the device has been removed from the 1-Wire net. See also owRead and owReadBit.
Input: data : PTR Address of the memory block that holds the data to be stored.
size : INT [1..32767] (default 0) Number of bytes/bits to read.
bitmode : BOOL [TRUE, FALSE] (default FALSE) If true, each bit received is stored as a byte.
Returns: INT
Declaration: FUNCTION owReadData : INT;
Example:
Please see the "Examples - Generic OneWire Example" |