diff --git a/Adafruit_TSL2561_U.h b/Adafruit_TSL2561_U.h index 48990e4..dd97473 100644 --- a/Adafruit_TSL2561_U.h +++ b/Adafruit_TSL2561_U.h @@ -42,7 +42,14 @@ #include #endif #include -#include + +#ifdef __AVR_ATtiny85__ + #include "TinyWireM.h" + #define Wire TinyWireM +#else + #include +#endif + #define TSL2561_VISIBLE 2 // channel 0 - channel 1 #define TSL2561_INFRARED 1 // channel 1