error in dht11 sensor with nrf52832

hello,

i am using dht11 and nrf52832DK,

and i am using sample example from ncs SDK 2.4.0 https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/sensor/dht,

and i have also change overlayfile and add this,

/ {
    dht11 {
        compatible = "aosong,dht";
        status = "okay";
        dio-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
        dht22;
    };

build was successfull but when i see logs i got this error,    

Sensor fetch failed: -5

i try to figure out but i don't get any clue.

Parents Reply Children
No Data
Related