We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-- Attach DHT22 to GPIO26 s = sensor.attach("DHT22", pio.GPIO26) while true do print("temp: "..s:read("temperature")..", hum: "..s:read("humidity")) tmr.delayms(500) end
Back to sensor list