In my project, I need to have multiple bitmaps to display on an OLED and I was wondering if you could do something like (probably incorrect code):
int bitmap[]={bitmap_1, bitmap_2, bitmap_3};
while bitmap_1, bitmap_2 and bitmap_3 are in bitmaps.h and later on in the program I could call something like (without code tags so I can use bold):
display.drawBitmap((display.width() - LOGO_WIDTH ) / 2, (display.height() - LOGO_HEIGHT) / 2, bitmap[0], LOGO_WIDTH, LOGO_HEIGHT, 1);
Is this achievable?