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

Moonboard layouts #3

Open
kiks73 opened this issue Nov 27, 2019 · 3 comments
Open

Moonboard layouts #3

kiks73 opened this issue Nov 27, 2019 · 3 comments

Comments

@kiks73
Copy link

kiks73 commented Nov 27, 2019

Hi, I would like to add led to my moonboard, but I think that my old moonboard layout is different from the ones in the images.
I would like to know if it is possible to modify the moonboard layout and what happens when using the app.
I took a look at https://github.com/e-sr/moonboard/blob/master/problems/HoldSetup.json
but I'm not sure it is the right place to look at to change the holds layout.

What about the led strip path? does it start from bottom left (1-A) to top left (18-A) and then 18-B to 1-B and so on?

Thanks for your time.

@8cH9azbsFifZ
Copy link
Contributor

You may want to have a look at my fork with a description on how to create an alternative led strip path.

@e-sr
Copy link
Owner

e-sr commented Nov 3, 2020

The file /led/moonboard.py contain a dict, named LED_LAYOUT, of arrays of dimension 18x11. There are at this time some arrays defined. The array represent the moonboard holds, the value at i,j position of the array the corresponding led address in the stripe. For a custom layout you have to define your own array.

@e-sr
Copy link
Owner

e-sr commented Nov 3, 2020

Please keep in mind that LED_LAYOUT and moonboard layout are two different things.
At this time only the Moonboard app knows about layout

@e-sr e-sr mentioned this issue Nov 3, 2020
e-sr pushed a commit that referenced this issue May 1, 2021
Fix install script throwing errors
e-sr pushed a commit that referenced this issue May 1, 2021
Close #1,#2,#7: Added v2 protocol flag handling
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

3 participants