highlightshadow

Untitled

Oct 22nd, 2023
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. BladeConfig blades[] = {
  2. { 0,
  3. // Pair 1 = Shtok PCB (16 pix) + Main (remainder) - wired serially
  4. SubBlade (0, 15, WS281XBladePtr<145, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >() ),
  5. SubBlade (16, 144, NULL),
  6.  
  7. // Pair 2 = Crystals underlight - each pixel wired in series with the next so its a 2x blade of 1 pixel
  8. SubBlade (0, 0, WS281XBladePtr<3, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin6> >() ),
  9. SubBlade (1, 1, NULL),
  10.  
  11. // Item 3 = Upper Strip - 7 pixels
  12. WS281XBladePtr<7, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin5> >(),
  13.  
  14. // Item 4 - Lower Turbine - 10 pixels
  15. WS281XBladePtr<10, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(),
  16.  
  17. CONFIGARRAY(presets) },
  18. };
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment