I'm having a hard time to get a DHT-11 humidity/temperature sensor to run with my MKR1000. It seems that the compiler has some problems with the dht library.
/pathtomysketchbook/libraries/DHT/DHT.cpp: In member function 'boolean DHT::read()': /pathtomysketchbook/libraries/DHT/DHT.cpp:110:7: error: 'cli' was not declared in this scope cli(); ^ /pathtomysketchbook/libraries/DHT/DHT.cpp:140:7: error: 'sei' was not declared in this scope sei(); ^ exit status 1 Error compiling for board Arduino/Genuino MKR1000.
Any idea how to fix this? I was just trying the DHTtester example