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
Can you help me
several problems with PIC18F25J50 the second
Re: several problems with PIC18F25J50 the second
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'.....
- 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
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\,"
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\,"
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