several problems with PIC18F25J50 the second

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
HjH
Posts: 108
Joined: Sat Jul 03, 2010 4:38 pm
Been thanked: 2 times

several problems with PIC18F25J50 the second

Post by HjH »

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.

User avatar
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

Post by Benj »

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);

Post Reply