// Certain modifications are Copyright 2016 Cel Skeggs /*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2016. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ /*----------------------------------------------------------------------------*/ package edu.wpi.first.wpilibj.hal; @SuppressWarnings("javadoc") public class RelayJNI extends DIOJNI { public static native void setRelayForward(long digital_port_pointer, boolean on); public static native void setRelayReverse(long digital_port_pointer, boolean on); public static native boolean getRelayForward(long digital_port_pointer); public static native boolean getRelayReverse(long digital_port_pointer); }