Skip to content

Any alternative to arduino's tone() function? #877

Description

@zamonary1

I want to make a project for ch32v003j4m6 that is going to play short PCM samples from its (limited) flash.
One way would be to bit-bang everything and hand this task to CPU, but I think there might be a way to attach a PWM channel to a timer and dynamically change its frequency and modulation.
Is there any way to do so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions