NoSloppy

3mm

Aug 1st, 2021
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. struct AccentsLED {
  2. static constexpr float MaxAmps = 0.02;
  3. static constexpr float MaxVolts = 3.2;
  4. static constexpr float P2Amps = 0.10;
  5. static constexpr float P2Volts = 3.0;
  6. static constexpr float R = 0; // Resistor value
  7. static const int Red = 255;
  8. static const int Green = 255;
  9. static const int Blue = 255;
  10. };
  11.  
  12.  
  13. BladeConfig blades[] = {
  14. { 0, // 264 pixel KR_Pixel_Stick - No SUBBLADE
  15. WS281XBladePtr<264, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>,DefaultPinClass, 900000 >() , // HiltPCB and KR_Pixel_Stick Main Blade in parallel
  16. WS281XBladePtr<5, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), // ChassisPCB
  17. SubBlade (4, 7, WS281XBladePtr<8, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >() ), // Chamber Top
  18. SubBlade (0, 3, NULL), // Chamber Bottom
  19. SimpleBladePtr<AccentsLED, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1>(), // Red Arrow
  20. SimpleBladePtr<AccentsLED, NoLED, NoLED, NoLED, bladePowerPin6, -1, -1, -1>(), // Green Arrow
  21. CONFIGARRAY(KR_Pixel_Stick),
  22. "01_KR_Pixel_Stick", },
Advertisement
Add Comment
Please, Sign In to add comment