mirror of
https://github.com/Team4388/To-Shoot-TShirt.git
synced 2026-06-09 08:48:08 -06:00
Merge branch 'master' of https://github.com/Team4388/Shoot-To-TShirt
This commit is contained in:
@@ -16,11 +16,11 @@ public class Horn extends SubsystemBase {
|
||||
/**
|
||||
* Creates a new Horn.
|
||||
*/
|
||||
public Horn() {
|
||||
m_solenoid = new Solenoid(0);
|
||||
public Horn(Solenoid solenoid) {
|
||||
m_solenoid = solenoid;
|
||||
}
|
||||
|
||||
public void hornset(boolean arg) {
|
||||
public void hornSet(boolean arg) {
|
||||
m_solenoid.set(arg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user