Skip to content

TimerHandle lacks SetCallback #44

@m00dawg

Description

@m00dawg

This may already be known since it appears to be in the TODO in tim.h (Dispatch periodic callback(s)) but thought I'd log it here as I ran into that tonight and it took me some time to realize it was missing from DaisyDuino when looking at the general libDaisy docs (https://electro-smith.github.io/libDaisy/classdaisy_1_1_timer_handle.html#a6a3a083902c7b5fbfc431242d60571f4).

I wanted to attach a callback to an interrupt much like the audio interrupt only I'll be adjusting the timer's counter so I can do variable sample rate stuff. I can do this in the while loop but thought the interrupt route would be more efficient and I could avoid cluttering up the main loop (which I was going to use for checking CV inputs and things).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions