Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()