Package edu.wpi.first.wpilibj

Examples of edu.wpi.first.wpilibj.Relay


    /**
     * Creates relay and sets it to a port number on the digital side car as specified
     * @param channel
     */
    public GRTRelay(int channel) {
        relay = new Relay(channel);
    }
View Full Code Here


    public static final double RELAY_OFF = 0.0;
    private Relay relay;
   

    public GRTRelay(int channel) {
        relay = new Relay(channel);
    }
View Full Code Here

    private boolean isOn = false;
    // Put methods for controlling this subsystem
    // here. Call these from Commands.
   
    public BallLight() {
        ballLight = new Relay(RobotMap.BALL_LIGHT, Relay.Direction.kForward);
    }
View Full Code Here

TOP

Related Classes of edu.wpi.first.wpilibj.Relay

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.