diff --git a/Adafruit_GFX.cpp b/Adafruit_GFX.cpp index 2c1413c0..3a45ab45 100644 --- a/Adafruit_GFX.cpp +++ b/Adafruit_GFX.cpp @@ -388,6 +388,34 @@ void Adafruit_GFX::drawBitmap(int16_t x, int16_t y, } } +void Adafruit_GFX::drawBitmap(int16_t x, int16_t y, + uint8_t *bitmap, int16_t w, int16_t h, uint16_t color) { + + int16_t i, j, byteWidth = (w + 7) / 8; + + for(j=0; j