예제 #1
0
 public void OneWireRun(String port)
 {
     this.oneWire = new SerialPortOneWire(port);
     try
     {
         this.oneWire.OneWireInit();
     } catch (Exception) { }
 }
예제 #2
0
 public DS18B20()
 {
     this.oneWire             = new SerialPortOneWire();
     this.oneWireAdapterPorts = oneWire.AviavailablePorts();
     this.oneWire             = null;
 }