Skip to content

Commit

Permalink
dont use mono oled with trinkets
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed May 17, 2020
1 parent 1a302d8 commit 709437a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Adafruit_MonoOLED.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#ifndef _Adafruit_MONOOLED_H_
#define _Adafruit_MONOOLED_H_

#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all

#include <Adafruit_GFX.h>
#include <Adafruit_I2CDevice.h>
#include <Adafruit_SPIDevice.h>
Expand Down Expand Up @@ -95,4 +97,5 @@ class Adafruit_MonoOLED : public Adafruit_GFX {
TwoWire *_theWire = NULL; ///< The underlying hardware I2C
};

#endif // end __AVR_ATtiny85__
#endif // _Adafruit_MonoOLED_H_
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit GFX Library
version=1.8.0
version=1.8.1
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.
Expand Down

0 comments on commit 709437a

Please sign in to comment.