Method | Description | |
---|---|---|
Ds18b20 ( Microsoft.SPOT.Hardware.OneWire bus, byte address ) : System |
Constructs DS-18B20 object for a given 1-wire bus and a device address
|
|
Ds18b20 ( Microsoft.SPOT.Hardware.OneWire bus, int index ) : System |
Constructs DS-18B20 object for a given 1-wire bus and a device sequence number.
|
|
GetTemperature ( ) : float |
Returns current temperature
|
Method | Description | |
---|---|---|
GetDevices ( ) : |
Method | Description | |
---|---|---|
Select ( ) : bool |
Select command
|
public Ds18b20 ( Microsoft.SPOT.Hardware.OneWire bus, byte address ) : System | ||
bus | Microsoft.SPOT.Hardware.OneWire | 1-wire bus to whish the sensor is attached |
address | byte | device address |
return | System |
public Ds18b20 ( Microsoft.SPOT.Hardware.OneWire bus, int index ) : System | ||
bus | Microsoft.SPOT.Hardware.OneWire | 1-wire bus to whish the sensor is attached |
index | int | sequence index of a bus element |
return | System |
protected GetDevices ( ) : |
||
return |