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

Correct Way to Reduce # of Channels? #22

Open
cwshep opened this issue Jan 6, 2015 · 0 comments
Open

Correct Way to Reduce # of Channels? #22

cwshep opened this issue Jan 6, 2015 · 0 comments

Comments

@cwshep
Copy link

cwshep commented Jan 6, 2015

I would like to reduce the number of channels for two reasons:

  1. The current configuration only has enough memory to drive ~600 pixels per strip, and I would like to do more.
  2. I would like to minimize the CPU usage.

My current approach was to:

  1. Change #define LEDSCAPE_NUM_STRIPS 8 in ledscape.h
  2. Define the GPIOs in ledscape.c, eg.:

static const uint8_t gpios0[] = {
2, 3, 7, 8, 9, 10, 11, 14
};
(and no others; well actually I chose all 8 on the right side of P9, but you get the idea)

  1. Change "48" to "8" in pru/templates/ws281x.p.

Is that correct? I'm having some odd tearing/flickering issues, but I'm not sure if they are related.

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