I'm using a cheap yellow board (ESP32-3248S035C) which has a ST7796 display controller.
The reset pin of the ST7796 is connected to the ESP32's own reset. I don't know how to set its use in the connections values for the component - setting it to Unconnected gets me a syntax error when I try to compile.
If I set the reset pin to one of the other (currently unused) I/O pins it will compile but it seems that there should be a better way to configure the reset. Any suggestions?
ST7796 reset pin connected ESP32 reset
-
- Posts: 4
- http://meble-kuchenne.info.pl
- Joined: Mon Oct 21, 2024 11:19 am
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: ST7796 reset pin connected ESP32 reset
Hello.
I have added Use CS, and Use Reset to the properties.
When you select No the the pin will automatically be assigned, so should not cause any compile errors.
Can you try the attached and see if it works better for you.
If it does the it will be added to the component database.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.
Place the attached component.
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).
I have added Use CS, and Use Reset to the properties.
When you select No the the pin will automatically be assigned, so should not cause any compile errors.
Can you try the attached and see if it works better for you.
If it does the it will be added to the component database.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.
Code: Select all
%ProgramData%\MatrixTSL\FlowcodeV10\Components
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).
- Attachments
-
- gLCD_ST7796_SPI.fcpx
- (19.92 KiB) Downloaded 139 times
Martin
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: ST7796 reset pin connected ESP32 reset
Fixed issue that prevents display from working on non ESP32 target devices.
- Attachments
-
- gLCD_ST7796_SPI.fcpx
- (19.87 KiB) Downloaded 133 times
Martin