Skip to content

Commit 709437a

Browse files
committed
dont use mono oled with trinkets
1 parent 1a302d8 commit 709437a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Adafruit_MonoOLED.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#ifndef _Adafruit_MONOOLED_H_
2525
#define _Adafruit_MONOOLED_H_
2626

27+
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
28+
2729
#include <Adafruit_GFX.h>
2830
#include <Adafruit_I2CDevice.h>
2931
#include <Adafruit_SPIDevice.h>
@@ -95,4 +97,5 @@ class Adafruit_MonoOLED : public Adafruit_GFX {
9597
TwoWire *_theWire = NULL; ///< The underlying hardware I2C
9698
};
9799

100+
#endif // end __AVR_ATtiny85__
98101
#endif // _Adafruit_MonoOLED_H_

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit GFX Library
2-
version=1.8.0
2+
version=1.8.1
33
author=Adafruit
44
maintainer=Adafruit <[email protected]>
55
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.

0 commit comments

Comments
 (0)