USART transmit

Discussion in 'Embedded Systems and Microcontrollers' started by cczone, Dec 18, 2008.

  1. cczone

    Thread Starter Member

    Dec 17, 2008
    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..
  2. Papabravo


    Feb 24, 2006
    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.