Hello,
I have a problem with Flowcode V4 and V5 for PIC. ( I don't know why but I can't post in the V5 forum ).
I made a little program to receive a string from my computer by INT.
But, when I want to send only one word in the string I recorded with the sendchar macro, the value is not good.
BUT ! If i send every word I receive, it works ! ( you will see what i mean in the attached program )
What im doing wrong ?
Problem with UART INT with Flowcode 4&5
Moderator: Benj
-
- Posts: 333
- Joined: Mon Oct 05, 2009 2:39 pm
- Has thanked: 30 times
- Been thanked: 33 times
- Contact:
Re: Problem with UART INT with Flowcode 4&5
As you can see in the attached file, the word sent in UART_RX[0] should be 0x35, it's 0xFF
If I reset the board, it's 0xCB etc etc...
But, with the expression UART_RX[CURSEUR], all the sent word are good.
If I reset the board, it's 0xCB etc etc...
But, with the expression UART_RX[CURSEUR], all the sent word are good.
- Attachments
-
- FC5.jpg (117.77 KiB) Viewed 3305 times
- 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: Problem with UART INT with Flowcode 4&5
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