.RightReleased( )

back to ButtonBoard

Description

This function is used to determine if the right button on the button board is currently NOT pressed.

Parameters

None.

Returns

This function returns a boolean of true if the right button is NOT pressed, and false if it is pressed.

Examples

#include <FEHIO.h>

int main(void)
{
    //declares a button board in bank3
    ButtonBoard buttons(FEHIO::Bank3);

    //do action until the right button is pressed
    while( buttons.RightReleased() )
    {
        //do action
    }
}