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

Automation Hat Mini LCD from other languages #31

Open
BryanCrotaz opened this issue Jun 4, 2020 · 4 comments
Open

Automation Hat Mini LCD from other languages #31

BryanCrotaz opened this issue Jun 4, 2020 · 4 comments

Comments

@BryanCrotaz
Copy link

BryanCrotaz commented Jun 4, 2020

You provide a python interface, but no C library etc. I'm trying to interface from C# via wiringPi by reverse engineering the python code, but cannot get images to appear. Could you provide a document listing all the control commands and GPIO pins (eg CS) that are relevant, and show the waveforms required to make it work?

@BryanCrotaz
Copy link
Author

Can I just leave the chipselect pin low the whole time, or does it need to be cycled?

@Gadgetoid
Copy link
Member

I don't have the time or expertise to support anything beyond Python at the moment- too many products, and just one me.

Details of the pins are here- https://pinout.xyz/pinout/automation_hat_mini

The display is the ST7735, the Python library is here which can be a useful starting point - https://github.com/pimoroni/ST7735-python

Other details are available in the display datasheet- https://www.displayfuture.com/Display/datasheet/controller/ST7735.pdf

Looks liek there might already be a C library out there somewhere, I found this at least: https://github.com/Matiasus/ST7735

@BryanCrotaz
Copy link
Author

Could you add those notes to the front page of the docs?

@Gadgetoid
Copy link
Member

I don't see any reason why not. The pinout is already there but a datasheet link and some examples of alternate libraries wouldn't go amiss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants