lib/connection.rb
def write(path, value)
      owconnect do |socket|
        owwrite(socket, :path => path, :value => value.to_s, :function => WRITE)
        return owread(socket).return_value
      end
    end
def write(path, value)
      owconnect do |socket|
        owwrite(socket, :path => path, :value => value.to_s, :function => WRITE)
        return owread(socket).return_value
      end
    end
Write a value to an OW path.