DHT20 (replacement for DHT22) Library

Hi All,

Can anyone point me in the right direction to get this sensor working with a photon?

I see there are arduino libraries, but nothing in build.Particle.io.

I’ve never ported a library, so I am unsure how to proceed.

Thanks!

Have you tried any of the Arduino libraries?
With I2C libraries there often is virtually no more porting effort required than adding a #include <Particle.h> at the top of the library’s header file.

Here is a stripped down version of the Adafruit library (legacy support removed)

Thanks @ScruffR, I’ll give that a try.
J

@ScruffR Yes, that worked! Thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.