piettetech / PietteTech_DHT

DHT Sensor Library for Spark Core
Other
53 stars 60 forks source link

Compilling error #12

Open mv110 opened 7 years ago

mv110 commented 7 years ago

Hello,

as a quite newbie to the Arduino world, I already found your DHT library and I am trying to use it. Unfortunately I am stuck during code compilation. I am using Arduino IDE 1.6.12

There is error in .cpp library:

Arduino\libraries\PietteTech_DHT\PietteTech_DHT.cpp:139:72: error: cannot convert 'void (PietteTech_DHT::)()' to 'void ()()' for argument '2' to 'void attachInterrupt(uint8_t, void (*)(), int)'

attachInterrupt(_sigPin, &PietteTech_DHT::_isrCallback, this, FALLING);

Frankly, I am not experienced enough to debug and fix the issue. Could you help me.

Thank you.