Name

button_getc — gets the button pressed

Synopsis

#include <button.h>   
char button_getc (void); 
void;
 

Arguments

void

no arguments

Description

If a button has been pressed, returns the button pressed, else blocks and waits for a button to be pressed