.LeftReleased( )

back to ButtonBoard

Description

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

Parameters

None.

Returns

This function returns a boolean of true if the left 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);

    //checks if the left button is NOT pressed
    if( buttons.LeftReleased() )
    {
        //do action
    }
}