PIC Micro: Get Serial Output from Byte Register

  • Thread starter Thread starter hisham.i
  • Start date Start date
  • Tags Tags
    Output Serial
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
hisham.i
Messages
176
Reaction score
2
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?
 
Engineering news on Phys.org
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