Skip to content
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

Micropython support #7

Closed
slabua opened this issue Oct 27, 2024 · 6 comments
Closed

Micropython support #7

slabua opened this issue Oct 27, 2024 · 6 comments
Assignees

Comments

@slabua
Copy link

slabua commented Oct 27, 2024

Would it be possible to have official micropython support? Specifically, to use it with the RP version of the boards?

@baorepo
Copy link
Member

baorepo commented Nov 5, 2024

https://github.com/russhughes/gc9a01_mpy @Cincinnatu Please port out product to this repo

@slabua
Copy link
Author

slabua commented Nov 5, 2024

I have checked this different version that seems to be working as well
https://github.com/russhughes/gc9a01py

@baorepo
Copy link
Member

baorepo commented Nov 5, 2024

could you help us test it? @slabua

@slabua
Copy link
Author

slabua commented Nov 5, 2024

@baorepo yes i will check it later tonight. I think I may have also found something for the touch panel, I'll check that too.

@slabua
Copy link
Author

slabua commented Nov 5, 2024

I've got the display working with:
https://github.com/russhughes/gc9a01py

spi = SPI(0, baudrate=60000000, sck=Pin(2), mosi=Pin(3))
tft = gc9a01.GC9A01(
    spi,
    dc=Pin(29, Pin.OUT),
    cs=Pin(27, Pin.OUT),
    reset=Pin(26, Pin.OUT),
    backlight=Pin(0, Pin.OUT),
    rotation=0)

GbnTj7GbwAAPCpS

And the touch working with:
https://github.com/bdbarnett/mpdisplay/blob/main/drivers/touch/chsc6x.py

i2c = I2C(1, sda=Pin(6), scl=Pin(7), freq=400000)
touch = CHSC6X(i2c, irq_pin=1)

GbnVH8-bAAAYeID

@baorepo
Copy link
Member

baorepo commented Nov 5, 2024

@slabua Great. You did it.
@limengdu @Chunchun-tian I recommend that you put this content on your product wiki to let more people know.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PR Assemble Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants