USART transmit

Thread Starter

cczone

Joined Dec 17, 2008
23
As a newbie, I have a question to ask about UART from a PIC.
A PIC is programmed to run ADC, and drive the output to the LCD display. Does it means it will have corresponding UART as well? Or it needs programming for that? Thanks for the guidance..
 

Papabravo

Joined Feb 24, 2006
21,226
Depending on the PIC, there are at least two possibilities.
  1. If the PIC has UART hardware, then you need to write routines to send and receive a character, that can be called from your application
  2. If the PIC does not have UART hardware or you need a second UART, you can write one that does bit-banging in software.
 
Top