Probably bug in UARTx_INIT command

General discussion on mikroBasic PRO for PIC.
Author
Message
User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Probably bug in UARTx_INIT command

#31 Post by jovana.medakovic » 24 Mar 2020 13:01

Hello,

Go to Project-> Edit Project and for PPSLOCK bit you need to set: PPSLOCK bit can be set and cleared repeatedly.

Regarding the uart_set_active you can read about this function in our help file from the compiler. If you want to use uart_write_text you have to set which UART is active, but if you use uart1_write_text then you don't have to use uart_set_active function.
If uart1_write_text still doesn't work, write a simple project for UART1 like I sent you for UART5 with UART1 and send me.

Kind regards,
Jovana

vwsolucoes
Posts: 16
Joined: 05 Nov 2012 13:45

Re: Probably bug in UARTx_INIT command

#32 Post by vwsolucoes » 24 Mar 2020 17:18

ok, thanks for the clarifications and as soon as I can do the test of the command uart1_write_text and send you the results and if it goes wrong I send you the program as requested.

thanks.

Post Reply

Return to “mikroBasic PRO for PIC General”