mirror of
https://github.com/Team4388/To-Shoot-TShirt.git
synced 2026-06-09 00:38:05 -06:00
HORN
This commit is contained in:
@@ -7,16 +7,21 @@
|
||||
|
||||
package frc4388.robot.subsystems;
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
|
||||
import edu.wpi.first.wpilibj.Solenoid;
|
||||
// import edu.wpi.first.wpilibj.PneumaticsModuleType;
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
|
||||
public class Horn extends SubsystemBase {
|
||||
private Solenoid m_solenoid;
|
||||
/**
|
||||
* Creates a new Horn.
|
||||
*/
|
||||
public Horn() {
|
||||
Hell
|
||||
m_solenoid = new Solenoid(0);
|
||||
}
|
||||
|
||||
public void hornset(boolean arg) {
|
||||
m_solenoid.set(arg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user