WaitKeypress
Causes the application to wait for a keypress and returns the key pressed.
char WaitKeypress(void);
Parameters
- Function does not accept any parameters
Return Value
- Function returns the key pressed
Remarks
The application must call OpenBeeper before WaitKeypress may be used.
Examples
DisplayText(0, FONT_HEIGHT * 20, "Press any key"); char ch = WaitKeypress(); ClearLCD(); string str = StrFmt("You pressed %c", ch); DisplayText(0, 0, str);
See Also
Last modified
7 years ago
Last modified on 04/12/18 13:05:10
Note:
See TracWiki
for help on using the wiki.