Hi,
I use BV4619 for controlled LCD display 20x4 and i have connected 4x4 keypad.
On Raspberry, i use wiringPi library.
Below, i use this code for get the key :
do{
wiringPiI2CWrite( i2c_lcd,'s');
wiringPiI2CWrite( i2c_lcd, 4 );
wiringPiI2CWrite( i2c_lcd, 'r' );
key = wiringPiI2CRead( i2c_lcd);
wiringPiI2CWrite( i2c_lcd,'p');
printf("key:%X\n",key);
delay(250); //250ms
}while(1);
This code return the key, but sometimes i must to press on key several times for i can see the value.
I try to change the debounce value but nothing change.
I don't understand the phenomenon. I hope that you can help me !!
I hope to understand me.
Sorry my bad english.