Gayan Soyza
Active Member
I'm building a project through PIC 16F628A which is containing UART.the recieving part codings works fine as well as the transmiting part.But I'm having a problem when transmitting from the PC to PIC.
I'm using COMPORT TOOLKIT Software for TX & RX.I have attached the codings.It works like this,
Think my passward is "ON".When you Type "ON" & press enter in the software,the recieving section in the softawre it displays letter "C".
You can notice in my codings....The code works fine.
But if I type "ONON" or "ONNO" or "ONABCDEFGH...." It displays the letter "C" as well & the PIC is getting stucked.In this case My passward gets false.
How to prevent this??? Why the PIC is getting stucked??? any other unwanted charactors must reject.How the code comes???
Many Thankx......Hoping a reply soon
I'm using COMPORT TOOLKIT Software for TX & RX.I have attached the codings.It works like this,
Think my passward is "ON".When you Type "ON" & press enter in the software,the recieving section in the softawre it displays letter "C".
You can notice in my codings....The code works fine.
But if I type "ONON" or "ONNO" or "ONABCDEFGH...." It displays the letter "C" as well & the PIC is getting stucked.In this case My passward gets false.
How to prevent this??? Why the PIC is getting stucked??? any other unwanted charactors must reject.How the code comes???
Many Thankx......Hoping a reply soon