// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.Subsystems; import com.ctre.phoenix.led.CANdle; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class LED extends SubsystemBase { /** Creates a new LED. */ public LED() {} CANdle led = new CANdle(0); public void led(int R, int G, int B){ led.setLEDs(R, G, B); } @Override public void periodic() { // This method will be called once per scheduler run } }