-
Notifications
You must be signed in to change notification settings - Fork 32
Add new board Elecrow CrowPanel 7.0" #59
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
Conversation
adding CrowPanel 7.0"
BOARD_ELECROW_CROWPANEL_7_0
Remove whitespace
v0.1.5
Hi @lboue, Thanks for your contribution! Is this PR ready for review? |
Not yet, I'm running out of time. |
Right now I'm trying to fix a problem with the touch controller:
|
Could you please activate the debug log and then share the entire log with me? |
Hi @lboue. Thanks for this awesome contribution! Im using the same dev board (CrowPanel 7.0") i just tried your PR and make it work sucessfully. Touch is not working because you set controller name wrong the board using GT911 not GT1151 i changed it in CROWPANEL_7_0.h and touch works! @Lzw655 Also software rotation with avoid tearing is not working i solved it with changing width and height values:
to:
idk why but this fixed the problem. |
@Lzw655 Here is the debug log: CrowPanel_ESP32-7_0.log Partial log
|
@NecroMancer05 |
Hi @lboue, i just tried it on consumer product application so i cant share it but i will share a demo app in free time asap. |
Hi @NecroMancer05, Thank you for pointing out this issue. I will fix it. |
Hi @lboue, I checked the schematic of Elecrow CrowPanel 7.0" and your configuration file. I found the TP INT pin (IO38_D) is not set. But the I2C address of GT911 is decided by the INT pin, as below. To set the GT911 I2C address to 0x5D (7-bit address, default in the library), we should set the INT pin (IO38_D) to low level before initialize the touch device. You can refer to the code to do it. |
Yes, that's what I found with a scan of the I2c addresses:
|
Set the backlight pin to GPIO2
ESP_PANEL_TOUCH_IO_INT GPIO38
@Lzw655
|
Hi @lboue, Sorry, the schematic I saw doesn't include the PCA9557. |
You're right. I didn't use the right one. In the manufacturer's response on the forum, I got the same as you proposed. I have hardware revision V2.1 and not V2.0. I asked them to see if there's a difference. |
@Lzw655 |
Have you installed 'pre-commit'? You can do this by running the command below: pip3 install pre-commit && pre-commit install After that, run the following command to check the rules. If no unexpected changes occur, please add them to Git and commit. pre-commit run --all-files |
@Lzw655 It works on my laptop:
|
Closure in favor of a new branch and a new PR #71 including the latest modifications to the main branch. |
Add new board Elecrow CrowPanel 7.0".