Page 2 of 2
Re: PIC18F67K40 UART Send String
Posted: Thu Mar 25, 2021 9:35 am
by LeighM
Add a "C" icon at the start of your program, and paste this code into it ...
Re: PIC18F67K40 UART Send String
Posted: Thu Mar 25, 2021 9:38 am
by seokgi
I have additional questions.
I am using CircularBuffer. If there is data called "kg" among RS-232 input data, it means to move on to the next processing.
It worked well because I programmed the same code on another MCU. However, in the PIC18F67K40, the data "kg" is not found.
I think I'm doing something wrong, so please advise.
Re: PIC18F67K40 UART Send String
Posted: Thu Mar 25, 2021 9:44 am
by LeighM
Hi,
Add the C code and hopefully all will be well.
The silicon error in the PIC18F67K40 is causing the compiler generated code to not be able to access any strings in your code.
Re: PIC18F67K40 UART Send String
Posted: Thu Mar 25, 2021 9:47 am
by seokgi
All problems have been solved. CircularBuffer works fine and UART SendString works fine too.
Thank you very much.