Particle Electron library error

Hello everyone,

I am trying to use the Adafruit_DHT.h library amd the example code for connecting a dht11 sensor to my board however when I click verify to compile the code it gives me the “No such file or directory” error has anyone run into this problem before?

Did you include the lib into your project via the sidebar “Libraries” or only type #include “Adafruit_DHT.h”?
I compiled the lib example “dht-test.ino” without any problems,@isas

Make sue you select a version of system firmware > 0.5.3

I included the library via the sidebar and the same thing happens. and when I search and click for “adafruit_DHT” there is only one that shows up and its version is 0.0.2. Thank you for your reply!

Thanks for replying. How do I select the version of system firmware on web particle ide?

image

In the sidebar from your devices, you can click the little drop-down arrow.

1 Like