You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
After sometime, problem solving and learning I have got this working with a 300 LED string. but now I'm stuck.
I wonder if there is a way to change the code to split the string, what I would like to do is split it into n number of sections (10 in this case), and have the same visualization working for each section,
I have a feeling it should be pretty simple, but can't get my head around where in the code to change it.
I think that adding a variable in config.py N_sections = 10 , and then dividing the string into that number of sections is the starting point, but then I need to output 10 sets of changes to the string..... so I think it needs a loop in each of the options scroll, energy and spectrum, using 300/10 LED's but each in the correct area on the strip.
For Energy, rather than starting at the centre, the strip would need to be split into 10 sections, so there would need a counter for each loop to set the section 0-30, 31-60 etc. more variables, then the rest of the code should work I guess and similar for the other functions, but I'm just too much of a noob to work out where and how to add these variables, if someone wanted to collaborate I would be happy to learn and help.
The text was updated successfully, but these errors were encountered:
Hi,
After sometime, problem solving and learning I have got this working with a 300 LED string. but now I'm stuck.
I wonder if there is a way to change the code to split the string, what I would like to do is split it into n number of sections (10 in this case), and have the same visualization working for each section,
I have a feeling it should be pretty simple, but can't get my head around where in the code to change it.
I think that adding a variable in config.py N_sections = 10 , and then dividing the string into that number of sections is the starting point, but then I need to output 10 sets of changes to the string..... so I think it needs a loop in each of the options scroll, energy and spectrum, using 300/10 LED's but each in the correct area on the strip.
For Energy, rather than starting at the centre, the strip would need to be split into 10 sections, so there would need a counter for each loop to set the section 0-30, 31-60 etc. more variables, then the rest of the code should work I guess and similar for the other functions, but I'm just too much of a noob to work out where and how to add these variables, if someone wanted to collaborate I would be happy to learn and help.
The text was updated successfully, but these errors were encountered: