Hi,
I’m working on an Arduino YUN trying to make the Grove OLED display 1.12 working.
The display works fine with the Seeed library “OLED_Display_128X64”, exept the Bitmap examples taken from the official library.
When the IDE tries to compile the sketch “OLED_bitmap_inverse_display”, that error appears:
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:29:0,
from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:26,
from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Stream.h:26,
from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/Wire.h:26,
from OLED_Bitmap_Inverse_Display.ino:1:
OLED_Bitmap_Inverse_Display.ino:5:34: error: variable 'SeeedLogo' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
I’ve tried with arduino IDE 1.5.7 (needed fror the Yun board) and 1.0.5.
Please, someone can help me to fix the problem?
Thank you,
Giovanni