Page 1 of 1

Problem with UART INT with Flowcode 4&5

Posted: Thu Oct 25, 2012 10:25 am
by Mathy
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 ?

Re: Problem with UART INT with Flowcode 4&5

Posted: Thu Oct 25, 2012 10:30 am
by Mathy
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.

Re: Problem with UART INT with Flowcode 4&5

Posted: Thu Oct 25, 2012 11:47 am
by Benj