- January 31st, 2022, 7:32 am#4966473
CountDeMonet wrote: ↑January 27th, 2022, 2:59 pm You should be able to mess with these variables to set the indexes where they need to beIs there a variable that needs to be changed to get the vent lights in the N filter to light up. Everything else seems to be lighting up as it should except for the n filter lights which Failed to turn on during the vent sequence. I checked them prior to wiring them in the chain and they light up I’ve numbered them correctly I believe just not sure what I’m missing
// LED indexes into the neopixel powerstick chain for the cyclotron. Each stick has 8 neopixels for a total of
// 16 with an index starting at 0. These offsets are because my powercell window only shows 13 leds. If you can show more
// change the offset index and powercell count to get more or less lit.
const int powercellLedCount = 14; // total number of led's in the animation
const int powercellIndexOffset = 1; // first led offset into the led chain for the animation
// These are the indexes for the led's on the chain. Each jewel has 7 LEDs. If you are using a single neopixel or
// some other neopixel configuration you will need to update these indexes to match where things are in the chain
const int c1Start = 16;
const int c1End = 22;
const int c2Start = 23;
const int c2End = 29;
const int c3Start = 30;
const int c3End = 36;
const int c4Start = 37;
const int c4End = 43;
const int ventStart = 44;
const int ventEnd = 47;
Not really coding but where in the chain each light is basically. So if I was doing it the c1Start would be 0 and then adjust the rest of them assuming they are all in the same chain. Then for the powercell offset it would be 1 more than the ventEnd you end up with