Adafruit humidity and temperature sensor on LinkIt ONE


I’m using an adafruit humidity and temperature sensor with a LinkIt ONE.

I installed their library (i would post the link to the library, but seems like my account is too new for this kind of thing) and tested it with a DHT22 sensor that came in a Grove Starter KIT for LinkIt ONE.

But the test code won’t work, it shows me the error message “Failed to read from DHT sensor!”.

Can someone give me any help here?

Thanks in advance,

Paulo Henrique.