Sketch tft_setup.h not working #2352
Replies: 4 comments 1 reply
-
Take a look here, https://github.com/Bodmer/TFT_eSPI#tips |
Beta Was this translation helpful? Give feedback.
-
Adding the setup file to the sketch folder is no longer recommended as there are undesirable consequences in some scenarios. See #2007 |
Beta Was this translation helpful? Give feedback.
-
I have several different displays. Is it possible to make several setup
files and pass which one to use from my sketch?
…On Wed., Jan. 25, 2023, 07:21 Bodmer, ***@***.***> wrote:
Adding the setup file to the sketch folder is no longer recommended as
there are undesirable consequences in some scenarios.
See #2007 <#2007>
—
Reply to this email directly, view it on GitHub
<#2352 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZH5LC5MIXUNKHXIFRG5DPTWUELEVANCNFSM6AAAAAAUFRIBK4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
If you switch to using PlatforIO IDE extension with VS Code then this is very easy to do since all of your display configuration is added to the platformio.ini file as build flags. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I read in TFT_eSPI.h that you can put your specific setup file with your sketch and naming it tft_setup.h. I am using Arduino IDE 1.8.19 and TFT_eSPI 2.5
It does not seem to work for me. What am I probably doing wrong again :)
Beta Was this translation helpful? Give feedback.
All reactions