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.
PIC18F67K40 UART Send String
-
- Posts: 182
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 5 times
- Been thanked: 7 times
Re: PIC18F67K40 UART Send String
It's my flowchart.
- Attachments
-
- 2F2f_EVA-18F67K40.fcfx
- (60.36 KiB) Downloaded 190 times
-
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel