How to keep RAM usage low

Hi @reso ,

Sorry my previous post was very wrong I believe, I think you should try this instead:

Line 1305 of gauge_bg_bar.c

// Change
const lv_img_dsc_t guage_bg_bar = {

// to
const PROGMEM lv_img_dsc_t guage_bg_bar = {

And add #include <avr/pgmspace.h> to the top of the file.

Leave the rest of your code as is…

Please can you try that and let me know if it compiles?

Kind Regards,

Pete.

1 Like