Open juergs opened 7 months ago
Sorry, didn't see that github limits file quantity, preventing library-sources from upload.
Here the config of the display and specially the TFT_eSPI-Library is explained in detail: gc9a01
Thank you a lot for the comments I had some changes in the lib directly, but true, thought i documented it :) Will integrate your requests on my next change, when i have time :)
Hi Auryn, very nice project for starting. :-) Thank you for sharing your code.
By using your repo, i noticed that your TFT-configuration is missing in the pio-libdeps-folder _...\ESP32_festival_finder-auryn31.pio\libdeps\esp32dev\TFT_eSPI\UserSetup.h
`
define GC9A01_DRIVER
define TFT_WIDTH 240 // GC9A01 240 x 240 ,ST7789 240 x 240 and 240 x 320
define TFT_HEIGHT 240 // GC9A01 240 x 240
`
ESP32-pin-config is also missing: Therefore PIO loads the TFTeSPI-Lib in a default, not proper initial mode. ==> For ESP32 Dev board with GC9A01 display (8266-pins are set as default) ... .pio\libdeps\esp32dev\TFT_eSPI\User_Setups\Setup46_GC9A01ESP32.h has to be edited manually for correct gpio setting:
In my case this is the config according to your schematic:
Additionally i had to overwrite these setting here: _.pio\libdeps\esp32dev\TFT_eSPI\User_Setups\Setup46_GC9A01ESP32.h
GPIO 22 seems to be doubled for the QMC5883L.SCL use value -1 instead to disable.
May be a minor issue only, but makes it easier to run-out-of-the-box. ;-)
regards, Jürgen