I’d use this library to communicate with DHT22 sensors
https://build.particle.io/libs/PietteTech_DHT/0.0.5/tab/example/DHT_simple.ino
BTW, VBAT is not a power output. You should either use 3v3 or Vin
I’d use this library to communicate with DHT22 sensors
https://build.particle.io/libs/PietteTech_DHT/0.0.5/tab/example/DHT_simple.ino
BTW, VBAT is not a power output. You should either use 3v3 or Vin