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

using ST7789 library for Mini Display Hat... How do I control the onboard LED? #20

Open
Nwhitten opened this issue Nov 14, 2021 · 2 comments

Comments

@Nwhitten
Copy link

Hi

when using the ST7789 library (not the displayhatmini library) is there a way to control the onboard LED??

thanks

Neil

@Sebwap
Copy link

Sebwap commented Nov 14, 2021

Yes probably, by replicating the code included in display hat mini library!

@Wikinaut
Copy link

Wikinaut commented May 1, 2023

You do not need the library. Just control the ACT LED on pin 47.

See for example lines in https://github.com/Wikinaut/pinetradio/blob/main/pinetradio.py (look for ACT, which stands for activity LED.).

PI system use of the ACT-LED must be disabled. You can use this service https://github.com/Wikinaut/pinetradio/blob/main/disable-led.service and run sudo systemctl enable disable-led once.

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

No branches or pull requests

3 participants