hii soalan 3

Fork of KeypadLib by fitri ariffin

Revision:
17:f9b292067464
Parent:
16:ea3c612999ac
Child:
18:a973524a445d
--- a/keypad.h	Sat Sep 19 18:45:01 2015 +0000
+++ b/keypad.h	Sat Sep 19 18:50:53 2015 +0000
@@ -100,8 +100,8 @@
     /** @brief  Returns the letter of the pressed key \n
      *
      *  @return char
-     *  @retval -1 Error: no keys was pressed
-     *  @retval The pressed character
+     *  @retval -1  Error: no keys was pressed
+     *  @retval >=0 The pressed character
      */
     char getKey();
 
@@ -123,11 +123,11 @@
     BusOut _rows;
     /** @brief return the index value \n
     *      representating the pressed key \n
-    *      if no walid key was pressed \n
-    *      the value -1 is returned
+
     *
     *  @return int
-    *  @retval The index representing the pushed key used in table keys
+    *  @retval -1 no key was pressed
+    *  @retval >=0 The index representing the pushed key used in table keys
     */
     int getKeyIndex();