Share via

OneWire Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the OneWire implementation.

Inheritance Hierarchy

System. . :: . .Object

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware.OneWire (in Microsoft.SPOT.Hardware.OneWire.dll)


Public NotInheritable Class OneWire
public sealed class OneWire
public ref class OneWire sealed
type OneWire =  class end
public final class OneWire

The OneWire type exposes the following members.


  Name Description
Public method OneWire Initializes a new instance of the OneWire class.



  Name Description
Public method AcquireEx Attempts to acquire the OneWire net.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method FindAllDevices Retrieves a collection of serial numbers for all devices.
Public method FindFirstDevice Retrieves the first device.
Public method FindNextDevice Retrieves the next device.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ReadByte Reads a byte from the OneWire device.
Public method Release
Public method SerialNum Retrieves the serial number.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TouchBit
Public method TouchByte
Public method TouchReset
Public method WriteByte Writes a byte to the OneWire device.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.SPOT.Hardware Namespace