Update Adafruit_BMP085_U.cpp
Trinket compatibility via TinyWireM
This commit is contained in:
1 parent
15250cef2e
commit
11917092cd
1 file changed
+7
-1
@@ -20,7 +20,13 @@
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Wire.h>
|
||||
#ifdef __AVR_ATtiny85__
|
||||
#include "TinyWireM.h"
|
||||
#define Wire TinyWireM
|
||||
#else
|
||||
#include <Wire.h>
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user