Ejemplo n.º 1
0
    def getUserButton():
        """Get the state of the "USER" button on the roboRIO.

        :returns: True if the button is currently pressed down
        :rtype: bool
        """
        return hal.getFPGAButton()
Ejemplo n.º 2
0
    def getUserButton():
        """Get the state of the "USER" button on the roboRIO.

        :returns: True if the button is currently pressed down
        :rtype: bool
        """
        return hal.getFPGAButton()
Ejemplo n.º 3
0
    def getUserButton() -> bool:
        """Get the state of the "USER" button on the roboRIO.

        .. deprecated:: 2018.0.0
            Use :meth:`.RobotController.getUserButton` instead

        :returns: True if the button is currently pressed down
        """
        return hal.getFPGAButton()
Ejemplo n.º 4
0
    def getUserButton() -> bool:
        """Get the state of the "USER" button on the roboRIO.

        .. deprecated:: 2018.0.0
            Use :meth:`.RobotController.getUserButton` instead

        :returns: True if the button is currently pressed down
        """
        return hal.getFPGAButton()
Ejemplo n.º 5
0
 def getUserButton() -> bool:
     """Get the state of the "USER" button on the roboRIO.
     
     :returns: true if the button is currently pressed down
     """
     return hal.getFPGAButton()