Noob q: ArduinoIDE works, pioarduino does not #715
Replies: 2 comments
-
Probably useful to include the lgfx_user/LGFX_T-DisplayS3.hpp :
As a side note, I don't understand why I am "supposed to" include <LovyanGFX.hpp> in my main code when the hardware config file includes it anyways. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am truly perplexed. I wanted to try some experiments (like messing with the backlight), but when I uploaded the code above (as a baseline), the failure has gone away. It works perfectly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got LGFX working under ArduinoIDE, but the same code does not work under VSCode+pioarduino. I am new to pioarduino (just installed it today).
ArduinoIDE:
LovyanGFX by lovyan03 1.2.7 installed
esp32 by Espressif Systems 3.2.0 installed
Arduino code:
pioarduino:
pioarduino Code:
Results on pioarduino:
Serial monitor displays "Hello World! Hello Serial!" as expected.
But nothing on the TFT. I tried adding tft.fillScreen(TFT_GREEN); but it also did nothing.
Not sure how to debug it - help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions