Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DmxInput: start_channel is not honored #1

Open
MatheusMeM opened this issue Aug 16, 2023 · 0 comments
Open

DmxInput: start_channel is not honored #1

MatheusMeM opened this issue Aug 16, 2023 · 0 comments

Comments

@MatheusMeM
Copy link
Collaborator

MatheusMeM commented Aug 16, 2023

Pico-DMX lib

Problem:
The lib does not handle initial address changes. it only register from the start address till NUM_CHANNEL set in.

Original Issue: jostlowe/Pico-DMX#15

Possible Solutions:

1." I wouldn't know a proper solution to tell the PIO state machine OR the DMA to ignore the first X bytes. Of course, we could let the DMX write into an intermediary buffer and then copy only the requested channels to the buffer provided by the library user." - kripton
WIP: https://github.com/kripton/rp2040-dmxinput/tree/a85e14eff7f862e1d2a70787792a0db6b923d446

  1. DmxInput improvement: Trigger the IRQ not based on number of received bytes but on the state of the line
    DmxInput improvement: Trigger the IRQ not based on number of received bytes but on the state of the line jostlowe/Pico-DMX#21

  2. DMX for PICO without PIO
    DMX for PICO without PIO jostlowe/Pico-DMX#25

  3. Alternative Method I
    https://github.com/opsnlops/parrot-controller/blob/main/src/io/dmx.cpp

  4. Alternative Method II
    https://groups.google.com/g/open-lighting/c/zLR86ElhXmw?pli=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant