Fixing wrover-demo build problems #131
Steve-git-hub
started this conversation in
General
Replies: 0 comments
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 have found that the wrover-demo builds with errors related to the LCD.
The LCD is created as an Adafruit_ILI9341 object which should use Adafruit_GFX functions.
However, screen.h and screen.cpp use TFT_eSPI functions such as setFreeFont, drawString and fontHeight which are not provided by Adafruit_GFX.
I have modified the code in my Fork https://github.com/Steve-git-hub/NightDriverStrip which now builds without errors... not saying its the most elegant solution but it does work and the text appears on the LCD screen.
Also on the ESP-WROVER-KIT board GPIO Pin 5 (Dave's favourite LED_PIN) is allocated to control the LCD backlight.
It does seem to work with the LED output and backlight doubled up but you can get flashing backlight problems.
So I am using Pin 4 for LED_PIN0 and setting Pin 5 permanently low to turn on the backlight.
Note that Pin 4 also drives the Blue channel of the onboard RGB Led but that is not problem for me.
I can now run the wrover-demo and use the JTAG debugging on the WROVER-KIT.
Beta Was this translation helpful? Give feedback.
All reactions