PIC18F67K40 UART Send String

For general Flowcode discussion that does not belong in the other sections.
seokgi
Posts: 182
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

PIC18F67K40 UART Send String

Post by seokgi »

Hi.

I use the PIC18F67K40 to use multiple UARTs. But SendNumber works, but SendString doesn't work.

I don't think I'm wrong because it's a function I use every time.
Please take a look at this Send String function.

mnfisher
Valued Contributor
Posts: 1044
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 107 times
Been thanked: 538 times

Re: PIC18F67K40 UART Send String

Post by mnfisher »

That would be very odd - SendNumber just converts the number to a string then uses SendString....

Can you post your code?

Martin

seokgi
Posts: 182
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC18F67K40 UART Send String

Post by seokgi »

It's my flowchart.
Attachments
2F2f_EVA-18F67K40.fcfx
(60.36 KiB) Downloaded 190 times

BenR
Matrix Staff
Posts: 1788
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 455 times
Been thanked: 621 times

Re: PIC18F67K40 UART Send String

Post by BenR »

Hello,

That all looks ok.

In your config settings you have the watchdog timer and the LVP enabled, I would disable both of these settings.

If it's still not working after doing changing the config then maybe try assigning the string data into a variable and passing the variable to the SendString function and see if that works.

Let us know how you get on.

seokgi
Posts: 182
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC18F67K40 UART Send String

Post by seokgi »

As advised, I changed the settings and sent a text through a text variable, but SendString does not work.

seokgi
Posts: 182
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC18F67K40 UART Send String

Post by seokgi »

It's not working.

Please Help me.!

LeighM
Valued Contributor
Posts: 402
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 75 times
Been thanked: 220 times

Re: PIC18F67K40 UART Send String

Post by LeighM »


seokgi
Posts: 182
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC18F67K40 UART Send String

Post by seokgi »

Thanks for the reply.
But that document doesn't work for me.
I asked the question that UART TX signal does not become SendString.
Is there anything I don't understand?

LeighM
Valued Contributor
Posts: 402
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 75 times
Been thanked: 220 times

Re: PIC18F67K40 UART Send String

Post by LeighM »

Did you try the ASM code in a C icon at the start of your program?

seokgi
Posts: 182
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 7 times

Re: PIC18F67K40 UART Send String

Post by seokgi »

Sorry. I can't use c or asm. How do I add it?

Post Reply