Skip to content

BeepWAV example but mono? #21

Description

@RandomHacks-Git

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions