DrawBitmap on OLED Display

Using the example schetch OLED_Draw_Bitmap with Arduino IDE 1.6.7 I got the following error:

variable 'SeeedLogo' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

if I put SeeeLogo as const I got a new error:

invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive]

The only solution is to not use the PROGMEM flag, but it’s really creazy to waste 1K of memory only for one bitmap image! :imp:

Any solution?


The same issue is resolved in the following post please refer it and let us know if it works.

Thanks and Regards

Can anybody tell me how it was solved?