void read_card_value_from_uart() // Rxing card_value from rfid
{
for(k=0; k<=13; k++)
{
read_card_value[k-1]=getch();
}
}
rxed card_value from rfid should be compared with card1,card2 , card3
if any one card matches with rxed value it should display the corresponding card user on lcd otherwise it should display as unautherisd user.
for this i wrote function as
That means your "read_card_value" doesn't read the card values properly.You can verify is your "read_card_value" gives the proper unique code by sending the "read_card_value" directly to the LCD without comparing.
Are supposed to be 13 byte arrays i assume...You are supposed to have 13 bytes in it now 13 characters like this would be it more or less but your missing bytes then:
Actually "read_card_value" doesn't read the card values properly. Thats the i was getting 1st value its taking dummy then after 12 numbers its taking again 2 dummy variable. for that reason i was getting problem.
i have completed this project.
If you know please tell me how to interface keyboard to pic16f877a?
n how it works?
as i am using 6-pin ps/2 connector. Please help me out as arly as posible.
Thanks in advance.
PS/2 isnt hard nor easy heh. I have code somewhere on the forum for it.I need to redo a new one tho. Just to clean it up since i feel smarter now maybe i can make it better heh