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