WT32-SC01-Plus #40
Replies: 7 comments 13 replies
-
fix some...
but... dir(th) |
Beta Was this translation helpful? Give feedback.
-
I haven't added the code into the binding yet for the task handler stuff. I saw another example in C code where the 5x36 was used for the touch interface. It could be the 6x36 possibly. I forgot about the division and the result being a float and that not working with micropython.const. I will get that code for the task handler added shortly and I will change it to using the 6x36 touch driver and see if that fixes it. |
Beta Was this translation helpful? Give feedback.
-
what's up with the reset pin? |
Beta Was this translation helpful? Give feedback.
-
`` if use
Traceback (most recent call last): but ...
it works! I guess because RST is shared between screen and touch, is there any conflict? |
Beta Was this translation helpful? Give feedback.
-
I have to check and see if RST is supposed to be set to high to reset and set to low normally. Maybe it needs to be left at a float. I know that it is a shared pin and maybe low to rest the display and high to reset the touch panel or vice versa. I have to do some digging into it to see what the deal is. Does this correct the color order so that
Is the display being display in landscape mode and is the direction correct? |
Beta Was this translation helpful? Give feedback.
-
Sorry _RST not a problem anymore...
screen rotation will,but touch look like none rotation 6A6ef219df41a44257dfc1e134ce6a74.mp4 |
Beta Was this translation helpful? Give feedback.
-
OK I believe that I have the rotation all fixed. I also added support for being able to calibrate the touchscreen as well. You will need to clone the repo again and recompile the firmware to get the new features/fixes. The code example at the top shows how the touch calibration is used. If there is a problem with it please open an issue and let me know there so I can fix it. I do not get notifications for things added to the discussions so I will not know that you replied of there is a problem. |
Beta Was this translation helpful? Give feedback.
-
The build command for this is
Where
{board}
is ESP32_GENERIC, ESP32_GENERIC_S3, etc... and{board_variant}
is one of SPIRAM, SPIRAM_OCT, etc...Beta Was this translation helpful? Give feedback.
All reactions