Jump to content
43oh

MSP430g2553+Energia+DHT11


Recommended Posts

I have had luck with the Adafruit library: https://github.com/adafruit/DHT-sensor-library

Make sure that you uncomment the DHT11 in the example Sketch.

 

i tried but i get errors in the cpp.h. i did not know how to fix them because the for the most part i did not understand how to deal with the errors. i would be more thank full if you can give me any other direction.

 

thank you 

Link to post
Share on other sites

Did you try the library that Rei Vilo uploaded in the post I linked to?  http://forum.43oh.com/topic/2239-solved-dht22-temp-rh-one-wire-sensor-on-energia/?p=19474

Also if you look at the first post in this topic - http://forum.43oh.com/topic/2826-ladyadas-dht-library-lcd/ - you'll see that they replaced NAN with 0.  It would be simple to #define NAN 0 at the top of the library.

Link to post
Share on other sites
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...