import temp
sensor = [
temp.DHT(23),
temp.DHT(22)
]
while True:
for x in range(2):
sensor[x].mostra_celsius()
sensor[x].mostra_fahrenheit()
sensor[x].mostra_kelvin()
sensor[x].mostra_umidade()
sleep(3)
import temp
sensor = [
temp.DHT(23),
temp.DHT(22)
]
while True:
for x in range(2):
sensor[x].mostra_celsius()
sensor[x].mostra_fahrenheit()
sensor[x].mostra_kelvin()
sensor[x].mostra_umidade()
sleep(3)