once fixed code :-
unsigned char font[] progmem = {
to
const unsigned char font[] progmem = {
i compiling errors on code below :-
arduino\libraries\ssd1306_text\ssd1306_text.cpp:124:26: error: invalid conversion 'const unsigned char*' 'uint8_t* {aka unsigned char*}' [-fpermissive]
uint8_t *base = font + 5 * c;
^
any idea on how fix compile errors ??
here url text library :-
ssd1306 text only
unsigned char font[] progmem = {
to
const unsigned char font[] progmem = {
i compiling errors on code below :-
arduino\libraries\ssd1306_text\ssd1306_text.cpp:124:26: error: invalid conversion 'const unsigned char*' 'uint8_t* {aka unsigned char*}' [-fpermissive]
uint8_t *base = font + 5 * c;
^
any idea on how fix compile errors ??
here url text library :-
ssd1306 text only
Arduino Forum > Using Arduino > Programming Questions > Updated Arduino IDE 16.3 "PROGMEM need const" compile errors
arduino
Comments
Post a Comment