From 66a36b7ba9b40487b6fb0c5261651285e976814c Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 6 Oct 2022 14:24:52 +0200 Subject: [PATCH] example(arduino): fix the example INO file. fixes: #3686 --- examples/arduino/LVGL_Arduino/LVGL_Arduino.ino | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino b/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino index 7c40ae8b9..7f7a9b1ad 100644 --- a/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino +++ b/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino @@ -1,12 +1,13 @@ +/*Using LVGL with Arduino requires some extra steps: + * Be sure to read the docs here: https://docs.lvgl.io/master/get-started/platforms/arduino.html */ + #include #include -/*If you want to use the LVGL examples, - make sure to install the lv_examples Arduino library - and uncomment the following line. -#include -*/ -#include +/*To use the built-in examples and demos of LVGL uncomment the includes below respectively. + *You also need to copy `lvgl/examples` to `lvgl/src/examples`. Similarly for the demos `lvgl/demos` to `lvgl/src/demos`.*/ +//#include +//#include /*Change to your screen resolution*/ static const uint16_t screenWidth = 480;