NoSloppy

Untitled

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