Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/KeypadSound/WaitKeypress


Ignore:
Timestamp:
02/18/11 13:58:52 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/KeypadSound/WaitKeypress

    v1 v1  
     1= WaitKeypress =
     2Causes the application to wait for a keypress and returns the key pressed.
     3
     4{{{
     5char WaitKeypress(void);
     6}}}
     7
     8== Parameters ==
     9
     10 * Function does not accept any parameters
     11
     12== Return Value ==
     13
     14 * Function returns the key pressed
     15
     16== Remarks ==
     17
     18The application must call OpenBeeper before WaitKeypress may be used.
     19
     20== Examples ==
     21
     22{{{
     23DisplayText(0, FONT_HEIGHT * 20, "Press any key");
     24char ch = WaitKeypress();
     25ClearLCD();
     26string str = StrFmt("You pressed %c", ch);
     27DisplayText(0, 0, str);
     28}}}
     29
     30== See Also ==
     31
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/KeypadSound/OpenBeeper OpenBeeper]