I have problem whit the keypad_I2C and liquidCristal_I2C
When I use this part display gif the number 1 in display and system don’t work .
I have change lib,s and Arduino software nothing works
What is this for problem and how can I change this ?
You have some code you did not post. It does something that you did not explain. That differs in some unknown way from what you expect.
how can I change this ?
Easy. Expect the code to do what it actually does.
this code work normally
but a dont know what is wrong
al the code`s i send to the arduino within key have this problem now >
when a start arduino you see in the display popup the 1 and the software dont work.
a have put in lib
new arduino install, new windows install nothing seems to work .
#include<Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Keypad_I2C.h>
#define I2CADDR 0x3f
const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns
//define the cymbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
byte rowPins[ROWS] = {0,1,2,3}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {4,5,6,7}; //connect to the column pinouts of the keypad
//initialize an instance of class NewKeypad
Keypad_I2C customKeypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS, I2CADDR);
LiquidCrystal_I2C lcd(0x27,16,2);
void setup(){
// Wire.begin( );
lcd.begin();
lcd.backlight();
customKeypad.begin( );
Serial.begin(9600);
}
void loop(){
char customKey = customKeypad.getKey();
if (customKey != NO_KEY){
Serial.println(customKey);
lcd.print(customKey);
}
}
That is not in the code. Was the upload successful?
i have change win 7 to win 10 problem solve
i had last update win 7 and the problem started
i hope that i solve this problem
thanks for suport
