메소드 | 설명 | |
---|---|---|
DS1620 ( IGpio clock, IGpio data, IGpio reset ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Sensors.DS1620 class with the clock, data, and reset GPIO pins.
|
|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Sensors.DS1620 object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Sensors.DS1620. The Dispose method leaves the CyrusBuilt.MonoPi.Sensors.DS1620 in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Sensors.DS1620 so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Sensors.DS1620 was occupying. |
|
GetTemperature ( ) : Double |
Sends the commands to get the temperature from the sensor.
|
메소드 | 설명 | |
---|---|---|
ReadData ( ) : |
Reads 8-bit data from the DS1620.
|
|
SendCommand ( |
Sends an 8-bit command to the DS1620.
|
public DS1620 ( IGpio clock, IGpio data, IGpio reset ) : System | ||
clock | IGpio | /// The clock pin. /// |
data | IGpio | /// The data pin. /// |
reset | IGpio | /// The reset pin. /// |
리턴 | System |