led
This commit is contained in:
		| @@ -6,14 +6,22 @@ package frc.robot.subsystems; | ||||
|  | ||||
| import com.ctre.phoenix.led.CANdle; | ||||
| import com.ctre.phoenix.led.CANdleConfiguration; | ||||
| import com.ctre.phoenix.led.FireAnimation; | ||||
| import com.ctre.phoenix.led.LarsonAnimation; | ||||
| import com.ctre.phoenix.led.RainbowAnimation; | ||||
| import com.ctre.phoenix.led.TwinkleAnimation; | ||||
| import com.ctre.phoenix.led.TwinkleOffAnimation; | ||||
| import com.ctre.phoenix.led.TwinkleOffAnimation.TwinkleOffPercent; | ||||
| import com.ctre.phoenix.led.LarsonAnimation.BounceMode; | ||||
| import com.ctre.phoenix.led.TwinkleAnimation.TwinklePercent; | ||||
|  | ||||
| import edu.wpi.first.wpilibj2.command.SubsystemBase; | ||||
|  | ||||
| public class Bougie extends SubsystemBase { | ||||
|   CANdle candle = new CANdle(23); | ||||
|   CANdleConfiguration config = new CANdleConfiguration(); | ||||
|   RainbowAnimation rainbowAnim = new RainbowAnimation(1, 0.5, 68); | ||||
|   LarsonAnimation rainbowAnim = new LarsonAnimation(256,0,0,0,0.1,68,BounceMode.Front,10,8); | ||||
|   //TwinkleOffAnimation rainbowAnim = new TwinkleOffAnimation(256, 0, 0,0,0.5,68,TwinkleOffPercent.Percent88,8); | ||||
|   /** Creates a new Bougie. */ | ||||
|   public Bougie() { | ||||
|     config.brightnessScalar = 0.5; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user