DHT-11 with MKR1000 - compiler errors sei() / cli()

Hi,

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

Best, Dennis

Went back to IDE 1.6.3 (from 1.6.10 - 1.6.12) and now it's compiling. :roll_eyes:

You might be able to update to V1.6.5-rc5. Things changed after that version.