floitsch 03/17/2024 07:40 PMUnfortunately I don't have any DHT11 at home at the moment. I will test tomorrow (Monday) at work.
That said, installing the program on my ESP32 (without any sensor connected) fails a bit later than the stacktrace you provided.
Could you try that as well? Just to see if you get the same error without any DHT11.
For me I then get:
[jaguar] INFO: program 2b596f2c-1c25-73bd-db34-5032e9ab1c88 started
E rmt(legacy): RMT RX BUFFER FULL
E rmt(legacy): RMT RX BUFFER FULL
******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.142>
******************************************************************************
EXCEPTION error.
insufficient signals from DHT
0: Driver.read-data-no-catch_ <pkg:toit-dhtxx>/driver_.toit:130:7
1: Driver.read-data_.<block>.<block>.<block> <pkg:toit-dhtxx>/driver_.toit:94:18
2: Task_.with-deadline_.<block> <sdk>/core/task.toit:223:16
3: Task_.with-deadline_ <sdk>/core/task.toit:217:3
4: with-timeout <sdk>/core/utils.toit:182:24
5: with-timeout <sdk>/core/utils.toit:174:10
6: Driver.read-data_.<block>.<block> <pkg:toit-dhtxx>/driver_.toit:93:9
7: catch.<block> <sdk>/core/exceptions.toit:124:10
8: catch <sdk>/core/exceptions.toit:122:1
9: catch <sdk>/core/exceptions.toit:73:10
10: Driver.read-data_.<block> <pkg:toit-dhtxx>/driver_.toit:92:7
11: SmallInteger_.repeat <sdk>/core/numbers.toit:1194:3
12: Driver.read-data_ <pkg:toit-dhtxx>/driver_.toit:91:14
13: Driver.read <pkg:toit-dhtxx>/driver_.toit:61:13
14: main.<block> dht11.toit:11:18
15: Duration.of <sdk>/core/time.toit:105:10
16: Duration.periodic <sdk>/core/time.toit:160:19
17: main dht11.toit:10:24
******************************************************************************