From acac3dd5d6b9c14ce5167c8d7979c9b22534b9d1 Mon Sep 17 00:00:00 2001 From: Michael Klein <37311672+MKleinSB@users.noreply.github.com> Date: Sun, 14 Jan 2024 17:36:50 +0100 Subject: [PATCH] changed pin --- dht11.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dht11.ts b/dht11.ts index 3a6a66c..3e73e50 100644 --- a/dht11.ts +++ b/dht11.ts @@ -12,7 +12,7 @@ namespace DHT11 { let _humidity: number = -999.0 let _readSuccessful: boolean = false let _sensorresponding: boolean = false - let dht11Pin: DigitalPin = DigitalPin.A1_RX + let dht11Pin: DigitalPin = 116 let dht11startTime: number = 0 let dht11WaitTime: number = 2000