User Manual

88
/
223
When connecting the pins to the MEGA2560 R3 board, we connect them to the
digital output pins, D9-D2. We connect the first pin of the keypad to D9, the second
pin to D8, the third pin to D7, the fourth pin to D6, the fifth pin to D5, the sixth pin
to D4, the seventh pin to D3, and the eighth pin to D2.
These are the connections in a table:
Code
After wiring, please open the program in the code folder- Lesson 11 Membrane
Switch Module and click UPLOAD to upload the program. See Lesson 2 for details
about program uploading if there are any errors.
Before you can run this, make sure that you have installed the < Keypad> library or
re-install it, if necessary. Otherwise, your code won't work.
For details about loading the library file, see Lesson 1.