Thank You Mister_e
The RFID Data will be stored on the 24C and then Send trough GPRS Transmitter to Central Unit.
If all is ok the data will be Erased.
And I have again free space for new data.
Regards Pesti
Thank You Mister_e
The RFID Data will be stored on the 24C and then Send trough GPRS Transmitter to Central Unit.
If all is ok the data will be Erased.
And I have again free space for new data.
Regards Pesti
Ok
All work fine now but :-)
I receive the data from rfid reader in ascii i use to receive data on the pic this:
Serin2 PortD.0,84,[Wait("E0") ,Daten[6],Daten[5],Daten[4],Daten[3],Daten[2],Daten[1],Daten[0]]
Daten[7] = $E0
but when I send to pc and to LCD with this
HSEROUT [hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0],13,10]
Lcdout $fe,$80,hex2 Daten[7],hex2 Daten[6],hex2 Daten[5],hex2 Daten[4],hex2 Daten[3],hex2 Daten[2],hex2 Daten[1],hex2 Daten[0]
I receive on the PC and on the LCD this : E030343031303030
I don't have found the way to convert to hex I need Hex on PC and on LCD.
Thanks
Regards Pesti
Hi
Yes I read the book and i now that hex is to convert decimal in hex !
I think i have a serial problem i have read more rfid chips and i receive always the same serial.
Thank you
Regards Pesti
Hi
Yes I now what is happen the rfid send ascii,the pic receive the ascii and convert all the characters in decimal values 0 is 30 ,4 is 34 and so on.
Than I have more than 8 bytes I have 16 bytes.
I must now convert the decimals in hex,while i need hex data.
I try with hex but dont work!
Regards Pesti
Re-Read Post #16...then refer to your PBP on the proper use of SERIN/SEROUT/(etc) available modifiers and you WILL have your answer. I understand what you want, but I'm not going to give you the answer you need because you have all of the resources you need to get that answer...and you might learn something.
Sorry Skimask!
When I have 30 34 30 31 thats mean i need a modifier with 4 to have 04 and 01.
Regards Pesti
Bookmarks