Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Serial Output from PIC

  1. Apr 12, 2010 #1
    Hello...
    If i have a byte in a register in a PIC micro controller, how can i write a subroutine using ASSEMBLY which allows me to get serial output from this register to the output port of the micro controller?
     
  2. jcsd
  3. Apr 12, 2010 #2
    Please study the specification sheet for the PIC microcontroller you are using, particularly about the serial communication module if you are using it.
    http://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf

    Microchip has hosted several application notes of their microcontrollers. There is plenty of literature for different types of serial communication. You can take a look at the them and modify your code accordingly. Check this link:
    http://ww1.microchip.com/downloads/en/AppNotes/00510e.pdf
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook