Skip to content

Stepper/Waveform to use EV_CUSTOM events #2576

Open
@gfwilliams

Description

I just added EV_CUSTOM which allows us to poke stuff into the IO FIFO

Right now for Waveform and Stepper we actually just poll any active waveform/stepper timer tasks on idle, but now we should be able to send events from the timer task directly instead.

Best way to do this would be to add something to build_jswrapper to allow custom JSON to handle a specific EV_CUSTOM enum

But we also have the issue of knowing which Waveform/stepper the event is for. This goes back to #1444 where ideally each timer task should have a specific index that doesn't change

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions