# New Debie with 3.5" - ili9488 screen

**URL:** <http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954>\
**Category:** How to\
**Created:** [October 17, 2023, 3:07pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954 "2023-10-17T15:07:44Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 3:07pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/1 "2023-10-17T15:07:44Z")

</div>

Guys, could someone help me please?

So I’m trying to find a clean and simple code to use LVGL with ESP32 and the 3.5" ILI9488 screen

I’m just starting out with LVGL and want at least one HELLO Word code.

So that from there I can continue. NOTE: I am an experienced mcus programmer. But I don’t know this LVGL library.

---

<div class="post-metadata">

**Author:** ![Marian\_M](http://forum.squareline.io/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@Marian\_M](http://forum.squareline.io/u/Marian_M)\
**Post date:** [October 17, 2023, 4:54pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/2 "2023-10-17T16:54:51Z")

</div>

You maybe dont understand what lvgl is. Is hw independent memory gui lib. Then before implement on any system you need some steps:

1. choice hw and run it properly = power and prog interface
2. choice sw framework you plan use and in it make live all required hw = RAM , display bus , touch bus … for simple quick = Arduino i prefer in PlatformIO IDE
3. choice lcd driver library for example ArduinoGFX and make display work

After this you can start implement LVGL and use it.

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 6:17pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/3 "2023-10-17T18:17:35Z")

</div>

I’m a little lost.

I want to use this screen with the ESP32, Arduino IDE environment.

3.5" ili9488 and ESP32-WROOM32

(I need post the pictures, but was is new in forum).

But I don’t know how to start…

I would love to use Squareline Studio to design my screens.

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 6:18pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/4 "2023-10-17T18:18:10Z")

</div>

![image](http://forum.squareline.io/uploads/default/original/1X/c1d55c6050ffc84e64efece51d793a047cdc0a5f.jpeg)

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 6:19pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/5 "2023-10-17T18:19:52Z")

</div>

![image](http://forum.squareline.io/uploads/default/original/1X/9b04ff8e3ab75a7698e5d1db95cf9df6217db1f6.jpeg)

---

<div class="post-metadata">

**Author:** ![Marian\_M](http://forum.squareline.io/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@Marian\_M](http://forum.squareline.io/u/Marian_M)\
**Post date:** [October 17, 2023, 8:59pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/6 "2023-10-17T20:59:14Z")

</div>

> [@Marian\_M](#):
>
> ArduinoGFX

You stop on point 3. Then choice library, you know how use Arduino IDE and load library ???  
Squareline use is point 5.

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 9:06pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/7 "2023-10-17T21:06:16Z")

</div>

I try, working use…I’m trying to make it work here with ArduinoGFX and make display work this library.

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 10:53pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/8 "2023-10-17T22:53:58Z")

</div>

I managed to make this display work with this library.

TFT\_eSPI

 ![image](http://forum.squareline.io/uploads/default/original/1X/9273b27dce07188ca141a3ac0497be847ac8ad66.jpeg)

```auto
/*  
 Test the tft.print() viz the libraries embedded write() function

 This sketch used font 2, 4, 7
 
 Make sure all the required fonts are loaded by editing the
 User_Setup.h file in the TFT_eSPI library folder.

  #########################################################################
  ###### DON'T FORGET TO UPDATE THE User_Setup.h FILE IN THE LIBRARY ######
  #########################################################################
 */

#include <SPI.h>

#include <TFT_eSPI.h> // Hardware-specific library

TFT_eSPI tft = TFT_eSPI(); // Invoke custom library

#define TFT_GREY 0x5AEB // New colour

void setup(void) {
  tft.init();
  tft.setRotation(2);
}

void loop() {
  
  // Fill screen with random colour so we can see the effect of printing with and without 
  // a background colour defined
  tft.fillScreen(random(0xFFFF));
  
  // Set "cursor" at top left corner of display (0,0) and select font 2
  // (cursor will move to next line automatically during printing with 'tft.println'
  // or stay on the line is there is room for the text with tft.print)
  tft.setCursor(0, 0, 2);
  // Set the font colour to be white with a black background, set text size multiplier to 1
  tft.setTextColor(TFT_WHITE,TFT_BLACK); tft.setTextSize(1);
  // We can now plot text on screen using the "print" class
  tft.println("Hello World!");
  
  // Set the font colour to be yellow with no background, set to font 7
  tft.setTextColor(TFT_YELLOW); tft.setTextFont(7);
  tft.println(1234.56);
  
  // Set the font colour to be red with black background, set to font 4
  tft.setTextColor(TFT_RED,TFT_BLACK); tft.setTextFont(4);
  tft.println((long)3735928559, HEX); // Should print DEADBEEF

  // Set the font colour to be green with black background, set to font 4
  tft.setTextColor(TFT_GREEN,TFT_BLACK);
  tft.setTextFont(4);
  tft.println("Groop");
  tft.println("I implore thee,");

  // Change to font 2
  tft.setTextFont(2);
  tft.println(F("my foonting turlingdromes.")); // Can store strings in FLASH to save RAM
  tft.println("And hooptiously drangle me");
  tft.println("with crinkly bindlewurdles,");
  // This next line is deliberately made too long for the display width to test
  // automatic text wrapping onto the next line
  tft.println("Or I will rend thee in the gobberwarts with my blurglecruncheon, see if I don't!");
  
  // Test some print formatting functions
  float fnumber = 123.45;
   // Set the font colour to be blue with no background, set to font 4
  tft.setTextColor(TFT_BLUE); tft.setTextFont(4);
  tft.print("Float = "); tft.println(fnumber); // Print floating point number
  tft.print("Binary = "); tft.println((int)fnumber, BIN); // Print as integer value in binary
  tft.print("Hexadecimal = "); tft.println((int)fnumber, HEX); // Print as integer number in Hexadecimal
  delay(10000);
}

```

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 17, 2023, 11:05pm UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/9 "2023-10-17T23:05:21Z")

</div>

But now how do I make LVGL work together with Squareline?

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 18, 2023, 1:45am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/10 "2023-10-18T01:45:05Z")

</div>

I’m totally lost…  
I imported the files from Squareline Studio and inserted it into a folder on the Arduino that I intend to run…

But it always gives library errors that I don’t know how to resolve.

 ![image](http://forum.squareline.io/uploads/default/original/1X/4115eacb5cb84f3d7fb6dbcac99dc44af701315c.png)

I’ve already followed all the steps in this documentation tutorial and I can’t figure out where I’m going wrong??

[https://docs.lvgl.io/master/get-started/platforms/arduino.html#use-the-examples-and-demos](https://docs.lvgl.io/master/get-started/platforms/arduino.html#use-the-examples-and-demos)

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 18, 2023, 2:57am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/11 "2023-10-18T02:57:43Z")

</div>

I try unistal and reinstal the library and not solved problem.

I don’t work the basic sample:

 ![image](http://forum.squareline.io/uploads/default/original/1X/084b74a88ef04e8efeb8211177aec4dcee294229.png)

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 18, 2023, 4:35am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/12 "2023-10-18T04:35:30Z")

</div>

The problem is touch is not configured in UserSetup

 ![image](http://forum.squareline.io/uploads/default/original/1X/c94e69526336717e1a605fab368eaff62d93f4ed.png)

WORKING!!!

THE WONDERFUOL

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 18, 2023, 4:54am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/13 "2023-10-18T04:54:25Z")

</div>

![image](http://forum.squareline.io/uploads/default/original/1X/8112912c90ba31f3ed898d1332fceb51f75d9e3a.jpeg)

It was very difficult to discover this error.

Now I need to understand how including Squareline files works? How does it work ?

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [October 19, 2023, 1:16am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/14 "2023-10-19T01:16:44Z")

</div>

![image](http://forum.squareline.io/uploads/default/original/1X/263c5418666c07b6818ca5cdec34a16afbb827dd.jpeg)

I managed to make it work perfectly.

Now I’m going to focus on making a really nice screen

On Squareline

---

<div class="post-metadata">

**Author:** ![zima98](http://forum.squareline.io/letter_avatar_proxy/v4/letter/z/c4cdca/32.png) [@zima98](http://forum.squareline.io/u/zima98)\
**Post date:** [January 25, 2024, 7:56am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/15 "2024-01-25T07:56:31Z")

</div>

Hello. How did u solve this problem? What is you User setup configuration?

---

<div class="post-metadata">

**Author:** ![allacmc](http://forum.squareline.io/user_avatar/forum.squareline.io/allacmc/32/916_2.png) [@allacmc](http://forum.squareline.io/u/allacmc)\
**Post date:** [January 29, 2024, 3:13am UTC](http://forum.squareline.io/t/new-debie-with-3-5-ili9488-screen/1954/16 "2024-01-29T03:13:02Z")

</div>

Yes, there is a correct configuration in UserSetup.h

Many people confuse LVGL with SquarelineStudio.

I was one of those people.

Squareline Studio is a productivity program that makes it easy to create LVGL code.

So the correct forum for these types of questions is lvgl, forum

It will be a pleasure to help you on this forum.

I will post the result of the UserSetup.h file on the forum.

> **[Supported Displays](https://forum.lvgl.io/t/supported-displays/13215/10)**
>
> I really appreciate your kindness and patience in responding to this post. And actually using the lgvl library to write a Hello Word seems very simple to me. As per instructions above. Because just call this function lv\_example\_get\_started\_1(); ...
