Hi
I have a PIC18F25J50 controller.
1. I design a RS232 Programm. If I build the programm I get folowing warning.
Flowcode3.c: main()
733: FCI_CONCATENATE("Test, ",6,"",0,FCV_M_SEND,20);
^ (359) nicht erlaubte Umwandlung between pointer types (warning)
^ (359) nicht erlaubte Umwandlung between pointer types (warning)
HI-TECH C PRO for the PIC18 MCU Family (Lite) V9.63PL3
This warning concatenate the variable with a wrong string
2. How I can change the C-code and build the programm without that flowcode overwrite the C-code
Can you help me.
several problems with PIC18F25J50 the second
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: several problems with PIC18F25J50 the second
I have answered you elsewhere about having commas inside of strings.
Instead of using
"Test, "
Try instead using
"Test\, "
If this does not work then you must place "Test, " into a string variable and then call the string variable from the concatenate parameters input.
str = "Test, "
FCI_CONCATENATE(str, 6,"",0,FCV_M_SEND,20);
Instead of using
"Test, "
Try instead using
"Test\, "
If this does not work then you must place "Test, " into a string variable and then call the string variable from the concatenate parameters input.
str = "Test, "
FCI_CONCATENATE(str, 6,"",0,FCV_M_SEND,20);
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel