Explorar o código

added empty function for inverting display

ladyada %!s(int64=13) %!d(string=hai) anos
pai
achega
74aff79422
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Adafruit_GFX.cpp

+ 4 - 0
Adafruit_GFX.cpp

@@ -440,6 +440,10 @@ void Adafruit_GFX::setRotation(uint8_t x) {
  }
 }
 
+ void Adafruit_GFX::invertDisplay(boolean i) {
+   // do nothing, can be subclassed
+}
+
 
 // return the size of the display which depends on the rotation!
  uint16_t Adafruit_GFX::width(void) {