help

i get a error compilling .

libraries\Keypad\Key.cpp.o: In function `Key::Key()’:

C:\Users\James Mauldin\Documents\Arduino\libraries\Keypad\src/Key.cpp:34: multiple definition of `Key::Key()’

sketch\Key.cpp.o:sketch/Key.cpp:34: first defined here

libraries\Keypad\Key.cpp.o: In function `Key::Key()’:

C:\Users\James Mauldin\Documents\Arduino\libraries\Keypad\src/Key.cpp:34: multiple definition of `Key::Key()’

sketch\Key.cpp.o:sketch/Key.cpp:34: first defined here

libraries\Keypad\Key.cpp.o: In function `Key::Key()’:

C:\Users\James Mauldin\Documents\Arduino\libraries\Keypad\src/Key.cpp:34: multiple definition of `Key::Key(char)’

sketch\Key.cpp.o:sketch/Key.cpp:34: first defined here

libraries\Keypad\Key.cpp.o: In function `Key::Key()’:

C:\Users\James Mauldin\Documents\Arduino\libraries\Keypad\src/Key.cpp:34: multiple definition of `Key::Key(char)’

sketch\Key.cpp.o:sketch/Key.cpp:34: first defined here

libraries\Keypad\Key.cpp.o: In function `Key::Key()’:

C:\Users\James Mauldin\Documents\Arduino\libraries\Keypad\src/Key.cpp:34: multiple definition of `Key::key_update(char, KeyState, bool)’

sketch\Key.cpp.o:sketch/Key.cpp:34: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

the code is.

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Keypad.h>

const byte rows = 4;
const byte cols = 4;

char hexakeys[rows][cols] = {
{‘1’, ‘2’, ‘3’, ‘A’},
{‘4’, ‘5’, ‘6’, ‘B’},
{‘7’, ‘8’, ‘9’, ‘C’},
{’*’, ‘0’, ‘#’, ‘D’}
};

byte rowPins[rows] = {11, 10, 9, 8};
byte colPins[cols] = {7, 6, 5, 4};

//initialize and instance of class Newkeypad
Keypad customKeypad = Keypad(makeKeymap(hexakeys), rowPins, colPins, rows, cols);

LiquidCrystal_I2C lcd(0x3F, 20, 4); // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
lcd.init(); // initialize the lcd
lcd.init();
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(3, 0);
lcd.print(“You Pressed:”);

}

void loop()
{
char key = customKeypad.getKey();

if (int(key) != 0) {
lcd.setCursor(16, 0);
lcd.print(key);
}
}
what am i missing?

what am i missing?

You appear to have two copies of the Keypad library installed.