hii soalan 3

Fork of KeypadLib by fitri ariffin

Revision:
3:d3772b2d763c
Parent:
2:cf9e1e315e74
Child:
4:7e46f22dc3ad
--- a/keypad.h	Sat Sep 19 07:58:53 2015 +0000
+++ b/keypad.h	Sat Sep 19 09:00:03 2015 +0000
@@ -77,19 +77,19 @@
                      
 class Keypad{    
     public:
-    /** Create a 4x4 (col, row) or 4x4 keypad interface:
-     *
-     *          | Col0 | Col1 | Col2 | Col3
-     *   -------+------+------+------+-----
-     *   Row 0  |   x  |   x  |   x  |  x
-     *   Row 1  |   x  |   x  |   x  |  x
-     *   Row 2  |   x  |   x  |   x  |  x
-     *   Row 3  |   x  |   x  |   x  |  x
-     *
+    /** Create a 4x4 (col, row) or 4x4 keypad interface:\n
+     *\n
+     *          | Col0 | Col1 | Col2 | Col3   \n
+     *   -------+------+------+------+-----   \n
+     *   Row 0  |   x  |   x  |   x  |  x     \n
+     *   Row 1  |   x  |   x  |   x  |  x     \n
+     *   Row 2  |   x  |   x  |   x  |  x     \n
+     *   Row 3  |   x  |   x  |   x  |  x     \n
+     *                                        \n
      *  @param col<0..3>     Row data lines
      *  @param row<0..3>     Column data lines
      */
-        Keypad(PinName col1, PinName col2, PinName col3, PinName col4, PinName row1,PinName row2, PinName row3, PinName row4);
+        Keypad(PinName col0, PinName col1, PinName col2, PinName col3, PinName row0,PinName row1, PinName row2, PinName row3);
     
        /** User-defined function that returns the letter of the pressed key
         *      if no walid key was pressed