Hi!
I want using serial port in 18f46k22
CH1 and CH2 is no problem.
But Port D using 16 X 2 LCD Display.
And then I wanna use Soft Serial.
But that is compile error.
Please Help me.!
Software UART? PIC18F46K22
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: Software UART? PIC18F46K22
Hi,
It looks like we have a little bug relating to the use of string constants.
As a workaround could you enter the string directly into the SendString parameter
It looks like we have a little bug relating to the use of string constants.
As a workaround could you enter the string directly into the SendString parameter
-
- Posts: 164
- Joined: Fri Jan 13, 2012 4:21 am
- Location: South KOREA
- Has thanked: 18 times
- Been thanked: 16 times
Re: Software UART? PIC18F46K22
Maybe you couldn't understand my question.
It was my fault.
I want to ask this :
I got a "software serial" "compile error". So what can I do?
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c:
203: #define MX_SOFT_BAUD_X (1000000 / MX_UART_BAUD_X) - SW_OFFSET
^ (111) redefining preprocessor macro "MX_SOFT_BAUD_X" (C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c: 211) (warning)
It was my fault.
I want to ask this :
I got a "software serial" "compile error". So what can I do?
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c:
203: #define MX_SOFT_BAUD_X (1000000 / MX_UART_BAUD_X) - SW_OFFSET
^ (111) redefining preprocessor macro "MX_SOFT_BAUD_X" (C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c: 211) (warning)