Current Lua downloadable firmware will be posted here

User avatar
By gerardwr
#2862
nogueira wrote:Trying to read a DHT11 I started to play with timer with a file like this:

gpio.write(8, gpio.HIGH)
tmr.delay(40)
gpio.write(8, gpio.LOW)

And with a scope I espected to see a high pulse os 40us but what I get is 180us

Haven't tried gpio.write yet, did you set the gpio pin to output with gpio.mode?