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