Fulltextové výsledky:
- Nové SpiHOME
- )),value,qos=1) info.wait_for_publish() if ((len(sys.argv) == 3) and sys.argv[1] == '-c'): ... tion_type") #for i in range(num_meters): # if connection_type == 'tcp': # logging... = config['sensor'].get('type', 'dht22').lower() if sensor_type == 'dht22': sensor = Adafruit_DHT... rature = Adafruit_DHT.read_retry(sensor, pin) if humidity is not None and temperature is not None:
- OPIone - Senzory
- ound important 80%> 1W can only work on pin MOSI; if this pin is already used, you are doomed. NB: on ... N2) while True: result = instance.read() if result.is_valid(): # print("%d" % result.t