New answers tagged pigpio
0
You can get both to work by terminating and reinitializing both pigpio and the ledstrip library, something like this;
while(1){
gpioInitialise();
gpioSetMode(pin, mode);
...
gpioWaveTxSend(waveID, PI_WAVE_MODE_ONE_SHOT);
gpioTerminate();
initLEDsPWM(nbLeds);
...
showLEDs();
endLEDs();
}
The gpio init is the bottleneck here, which takes ...
0
pigpio always uses either the Pi's hardware PWM or hardware PCM peripherals to perform GPIO sampling and to generate PWM pulses.
If you use waves or hardware PWM then both peripherals will be used by pigpio.
http://abyz.me.uk/rpi/pigpio/faq.html#Sound_isnt_working
There is no workaround.
Top 50 recent answers are included