pipresents-gapless icon indicating copy to clipboard operation
pipresents-gapless copied to clipboard

GPIO outputs flash

Open mrtinvan opened this issue 5 years ago • 1 comments
trafficstars

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?

mrtinvan avatar Apr 16 '20 18:04 mrtinvan

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.

KenT2 avatar Apr 17 '20 10:04 KenT2