several problems with PIC18F25J50 the second

For questions and comments on programming in general. And for any items that don't fit into the forums below.

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.

I have designed a RS232 programm. This programm run correct if I write a constant 'A' in the variable Input of the componenten macro RS232. If I write a variable with 'A' in the Input of the componenten macro RS232 no characters send the Pic to the RS232.
The problem you can better see in the sample
Flowcode3.fcf
(7 KiB) Downloaded 320 times
Can you help me

Tris
Flowcode V4 User
Posts: 6
Joined: Wed Aug 18, 2010 5:36 pm

Re: several problems with PIC18F25J50 the second

Post by Tris »

try using a string manipulation box and putting m_Send = "test," in it, instead of doing the c command box with FCV_M_SEND = 'T'.....

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 »

Hello,

The problem might be to do with the way commas are interpreted inside strings. You may have to nullify the comma by either sending the ASCII number 44 as a byte or you may be able to use it in the string by adding a command character slash.

eg.

m_Send = "test\,"

Post Reply