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

GPIO outputs flash #126

Open
mrtinvan opened this issue Apr 16, 2020 · 1 comment
Open

GPIO outputs flash #126

mrtinvan opened this issue Apr 16, 2020 · 1 comment

Comments

@mrtinvan
Copy link

Is there anyway to make GPIO outputs flash? I want an LED to flash while a media clip is playing. Could i create a output state in the gpio driver?

@KenT2
Copy link
Owner

KenT2 commented Apr 17, 2020

Yes, but its a bit convoluted
Create a second mediashow with two audio tracks. They should have a blank location and a duration of say 1 second. Use animation to turn the gpio on or off at the start of each track
At the start of the video track start this mediasshow with an open show show control command, at the end close the show.
Or you could modify the gpiodriver as you suggest.

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