I have a PCB with an RP2040 that uses pin 0 as an enable for an amplifier and pin 1 as the audio source.
I tried the PWMAudio example "PlayRaw" included in the core and it worked fine, I then tried the "BeepWAV" example from this BackgroundAudio library and it did not work.
I suspect that "PWMAudio pwm(1);" in this example doesn't behave like stated in the core's documentation and instead behaves like PWMAudio pwm(1, true) which in turn doesn't output anything as it expects an even pin, I tried pin 0 and verified with an oscilloscope that I get an output on both pin 0 and pin 1.
Is there a way to play mono audio on an odd pin with this library?
I have a PCB with an RP2040 that uses pin 0 as an enable for an amplifier and pin 1 as the audio source.
I tried the PWMAudio example "PlayRaw" included in the core and it worked fine, I then tried the "BeepWAV" example from this BackgroundAudio library and it did not work.
I suspect that "PWMAudio pwm(1);" in this example doesn't behave like stated in the core's documentation and instead behaves like PWMAudio pwm(1, true) which in turn doesn't output anything as it expects an even pin, I tried pin 0 and verified with an oscilloscope that I get an output on both pin 0 and pin 1.
Is there a way to play mono audio on an odd pin with this library?