Arduino Giga Display Shield and lvgl.h

When the Arduino Giga appeared on the market with its associated glossy Display Shield it looked like a programmers dream.

I am not a programmer. Sitting down to do a software project to me is like writing off a large lump of my remaining MTBF.

John, my close friend in France, is an also ran in this respect. We both fumble around doing cut, paste and edit development and end up with some quasi stable code that might do the job intended.

So joy of joys the Giga appeared and John got excited … which rapidly degenerated into acute frustration, hair pulling and suicide by software tendencies.

I got sucked in to help – blind leading the blind.

I tried running all the Arduino demos for the Giga Display Shield and after an inordinate length of my life had passed I concluded that any sketch with ‘#Include lvgl.h’ in it would be unlikely to run.

Slight digression. What is not made generally clear is that with lvgl library you have to edit the lv_conf_template.h file and re-save it in the Libraries folder as lv_conf.h. The edit is simply to change a 0 to a 1 and instructions are in the text at the top of the file listing. This edit enables lvgl. I spotted this and duly did as directed. Still no joy.

Out of desperation I deleted the lvgl library version 9.0.0 and replaced it with the 8.3.11 version. I then had to do the 0 to 1 and do the Save As etc routine again….

To my huge surprise this worked . See below as a simplistic overview of the changes needed.

So progress has been made and there are some nice demos to watch now that they are running OK. Note that the Arduino IDE will constantly tell you there is a later version of the lgvl library but you have to ignore this and opt for manual update. If 9.0.0 does get loaded you will have to go through the above process again to the extent of removing 9.0.0 and replacing with 8.3.11 but the edited lv_conf.h file will be unaffected so you don’t have to repeat the edit and Save As process … hopefully someone will fix it in the near future.

I would further add that not all the published demo sketches work. If you want a reliable sketch to demonstrate the camera onto the Giga screen download from Kurt’s depository on the link below.

Conclusion – maybe metal bashing, Fusion 360 and 3D printing suddenly have a much more attractive appeal.

Links to similar or related post are listed below : –

Verified by ExactMetrics