didyi
Newbie level 4
I have a little problem with the keyboard 16 keys
I have a model where it's planted a pic 16f690 a 16 * 4 LCD and keyboard (keypad) 4 * 4
I wrote a script that displays on the LCD any texts
now I want to use the keyboard to display by exemple '1' if I press it shows 1 on the lcd ..ect
so for now I have not really started this script
I just tried to find the logic to do it
I know that the keypad is a 4 * 4 matrix
I put the bits associated with the input lines
and those of the columns as outputs
I have the Keypad is linked with the port C
I did
main
...
bsf PORTC, 0
btfsc PORTC, 4
call LWD_Write1
goto hand
this script is just to test if what i want to do is going to work or no,
if any one of you have ideas or scripts that can help me I will be grateful
Have a nice week end
I have a model where it's planted a pic 16f690 a 16 * 4 LCD and keyboard (keypad) 4 * 4
I wrote a script that displays on the LCD any texts
now I want to use the keyboard to display by exemple '1' if I press it shows 1 on the lcd ..ect
so for now I have not really started this script
I just tried to find the logic to do it
I know that the keypad is a 4 * 4 matrix
I put the bits associated with the input lines
and those of the columns as outputs
I have the Keypad is linked with the port C
I did
main
...
bsf PORTC, 0
btfsc PORTC, 4
call LWD_Write1
goto hand
this script is just to test if what i want to do is going to work or no,
if any one of you have ideas or scripts that can help me I will be grateful
Have a nice week end