Let’s look at USART module in pic microcontroller (uart module).
I’m going to move in two ways:
1. Using existing functions from a hi-tech compiler.
2. Writing my own functions.
USART = UART = SCI – the universal data transmitting/receiving protocol, which can work in synchronous and asynchronous modes. We pay attention to the second mode at the moment, this one is used for communications mostly.Continue reading