EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

How to declare a software UART in the MPLAB compiler?

Started by Nick Alexeev February 15, 2005

Colleagues,

I'm a big fan of CCS compiler, but for this project I have to use
the MPLAB, becasue it support s Salvo OS. Here are my questions.
- Is it possible to delare a Software UART in the MPLAB without a
lot of coding?
- Is there a good 3rd partty Software UART library?

Nick



Are you using the Microchip C18 (or C17) compiler? If so, include
sw_uart.h in your code. That library includes the following functions:

getcUART
getsUART
OpenUART
putcUART
putsUART
ReadUART
WriteUART

Harold

>
>
> Colleagues,
>
> I'm a big fan of CCS compiler, but for this project I have to use
> the MPLAB, becasue it support s Salvo OS. Here are my questions.
> - Is it possible to delare a Software UART in the MPLAB without a
> lot of coding?
> - Is there a good 3rd partty Software UART library?
>
> Nick
>
--
FCC Rules Updated Daily at http://www.hallikainen.com




The 2024 Embedded Online Conference