@@ -1,13 +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 */
|
||||
*Be sure to read the docs here: https://docs.lvgl.io/master/get-started/platforms/arduino.html */
|
||||
|
||||
#include <lvgl.h>
|
||||
#include <TFT_eSPI.h>
|
||||
|
||||
/*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 <demos/lv_demos.h>
|
||||
//#include <examples/lv_examples.h>
|
||||
*You also need to copy `lvgl/examples` to `lvgl/src/examples`. Similarly for the demos `lvgl/demos` to `lvgl/src/demos`.
|
||||
Note that the `lv_examples` library is for LVGL v7 and you shouldn't install it for this version (since LVGL v8)
|
||||
as the examples and demos are now part of the main LVGL library. */
|
||||
|
||||
/*Change to your screen resolution*/
|
||||
static const uint16_t screenWidth = 480;
|
||||
|
||||
Reference in New Issue
Block a user