Avatar for user82514

user82514

Member since Oct 2017 • Last active Oct 2017
  • 1 conversations
  • 1 comments

Most recent activity

  • in ESP32
    Avatar for user82514

    Hi,
    I'm having a bit of trouble getting my DH22 to work. My code is pretty simple

    var dht = require("DHT22").connect(D5);
    dht.read(function (a) {
      console.log("Temp is "+a.temp.toString()+" and RH is "+a.rh.toString());
    });
    
    

    the result is WARNING: Unable to set watch. You may already have a watch on a pin with the same number (eg. A0 and B0),
    or this pin cannot be used with watch

    I have tried a few pins with the same result. any suggestions would be welcome

Actions