Advertisement
NoSloppy

Ron_QuadBlade_v2

Mar 9th, 2023 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. const maxLedsPerStrip=475 // a little bit extra buffer
  2. #define NUM_BLADES 7
  3. .............................
  4. BladeConfig blades[] = {
  5. // zigzag blade, total length = 464
  6. // pixel 1 - 116
  7. // pixels 117- 232 reverse
  8. // pixels 233-348
  9. // pixels 349-464 reverse
  10. { 0,
  11. SubBladeReverse(348, 463, WS281XBladePtr<464, bladePin, Color8::GRB, PowerPINS<bladePowerPin1, bladePowerPin2, bladePowerPin3>>()),
  12. SubBladeReverse(232, 347, NULL),
  13. SubBladeReverse(116, 231, NULL),
  14. SubBlade(0, 115, NULL), // Main Blade
  15. WS281XBladePtr<5, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), // BladePCB
  16. WS281XBladePtr<2, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin5> >(), // Crystal
  17. SimpleBladePtr<CH3LED, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(), // Bluetooth
  18. CONFIGARRAY(presets) },
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement