RobTillaart / DHTNew

Arduino library for DHT11 and DHT22 with automatic sensor recognition
MIT License
98 stars 15 forks source link

Make DHTLIB_BIT_THRESHOLD a compiler option #14

Closed RobTillaart closed 4 years ago

RobTillaart commented 4 years ago

Move this line to .h file

#define DHTLIB_BIT_THRESHOLD        50

and replace it by

#ifndef DHTLIB_BIT_THRESHOLD        
#define DHTLIB_BIT_THRESHOLD        50
#endif