Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct RedLEDleg {
- static constexpr float MaxAmps = 0.02;
- static constexpr float MaxVolts = 2.2;
- static constexpr float P2Amps = 0.0;
- static constexpr float P2Volts = 0.0;
- static constexpr float R = 0; // Resistor value
- static const int Red = 255;
- static const int Green = 0;
- static const int Blue = 0;
- };
- struct GreenLEDleg {
- static constexpr float MaxAmps = 0.02;
- static constexpr float MaxVolts = 3.2;
- static constexpr float P2Amps = 0.0;
- static constexpr float P2Volts = 0.0;
- static constexpr float R = 0; // Resistor value
- static const int Red = 0;
- static const int Green = 255;
- static const int Blue = 0;
- };
- struct GreenLEDleg {
- static constexpr float MaxAmps = 0.02;
- static constexpr float MaxVolts = 3.2;
- static constexpr float P2Amps = 0.0;
- static constexpr float P2Volts = 0.0;
- static constexpr float R = 0; // Resistor value
- static const int Red = 0;
- static const int Green = 0;
- static const int Blue = 255;
- };
- BladeConfig blades[] = {
- { 0,
- WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
- SimpleBladePtr<RedLEDleg, GreenLEDleg, GreenLEDleg, NoLED, bladePowerPin4, bladePowerPin5, bladePowerPin6, -1>(),
- CONFIGARRAY(presets),
Advertisement
Add Comment
Please, Sign In to add comment