-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-S3-Touch-LCD-1.28 (porting) #2
Comments
You need to check your connections, how are you connecting your display? |
I'm using ESP32-S3-Touch-LCD-1.28, so the display is attached to the microcontroller. I will add the shematic pdf here and a photo of the esp32-s3 |
Have you gotten your display working before? Then you will need to change this to match your display dt78-esp32-firmware/src/main.cpp Lines 29 to 30 in 750739d
|
I changed this line and doesn't seem to work even with these modifies |
At least provide how you've modified the code, other wise i can't help much |
sure |
What about the next line? |
|
You need to change 19 to 14 in that line Also change this line to match the BL pin (2) dt78-esp32-firmware/include/main.h Line 3 in 750739d
|
I changed this: Arduino_GC9A01 gfx = new Arduino_GC9A01(bus, 14, 0 / rotation /, true / IPS */); |
It would be advisable to search and check for code that already works with your board first. Especially one that uses the same library (Arduino GFX) |
i found a code that works on my esp32-s3 with Arduino GFX Library:
in this code all the gpio for the display are defined and it have hspi |
In that case, you may need to include HSPI and true in the constructor dt78-esp32-firmware/src/main.cpp Lines 29 to 30 in 750739d
You also need to make sure the display pins are not conflicting with other declarations, so change unused to -1 dt78-esp32-firmware/include/main.h Lines 3 to 10 in 750739d
Also set you touch pins, the existing ones conflict with the display dt78-esp32-firmware/include/touch.h Lines 4 to 7 in 750739d
Important Double check the pins again with the schematics Warning The IMU in your board is different, probably you will have to comment out the current IMU code |
i think the IMU code is this: QMI8658 |
i changed this: Arduino_ESP32SPI bus = new Arduino_ESP32SPI(8 / DC /, 9 / CS /, 10 / SCK /, 11 / MOSI /, 12 / MISO */, HSPI, true); this: #define TSCL 7 and this: #define BL 2 |
You had some code that worked, can you share the full code in the repo? Also include the board configuration and IDE used |
The code is this: |
What board are you selecting in Arduino IDE, dt78-esp32-firmware/platformio.ini Line 13 in 750739d
|
yes, i have already changed that because he would give me an error |
This is as far as i can help you since I don't have the same board as you. Maybe someone with more experience and with the same board can help you out. I'll leave the issue open |
Ok, I understand. Thanks anyway for your help |
i solved the problem. I found a code on github (forked from yours) that was for the esp32-s3 mini, I changed the pins and now it works. but now I have another problem, when the esp32-s3 receive a notification or I want to send a watchfaces, it seems to reset and lose the connection with the smartphone. i saw the diagnostics of chronos app and it says "WATCH_ERROR_133". |
Hey, how is it working now, and which fork is it? i cant find the fork that yo mentioned |
I flashed the firmware into the esp32-s3 but it doesn't show me anything. What can I do about it?
The text was updated successfully, but these errors were encountered: