nsp23
Newbie level 3
Hi all
I have a PIC16f690 and I'm having issues with UART communication.
I am using the HITECH C compiler and easily managed to get the sample UART code working on the device with little changes. That worked great, as I could type in a character and it would echo it back. What I'm really after is the ability to receive a string of characters though. I wouldn't think that I would need to receive a string with more than 7 characters.
The code that I am using is attached (which is my botched attempt at receiving a string). Any help getting this to work would be greatly appreciated.
Thanks in advance
View attachment code.zip
I have a PIC16f690 and I'm having issues with UART communication.
I am using the HITECH C compiler and easily managed to get the sample UART code working on the device with little changes. That worked great, as I could type in a character and it would echo it back. What I'm really after is the ability to receive a string of characters though. I wouldn't think that I would need to receive a string with more than 7 characters.
The code that I am using is attached (which is my botched attempt at receiving a string). Any help getting this to work would be greatly appreciated.
Thanks in advance
View attachment code.zip