EDIT: Post merged from duplicate thread in PIC Basic Pro forum, now deleted.
The manual mentions 4 MHz as default PIC speed for SEROUT. What are you using on yours? I don't see a DEFINE OSC statement.
Robert
EDIT: Post merged from duplicate thread in PIC Basic Pro forum, now deleted.
The manual mentions 4 MHz as default PIC speed for SEROUT. What are you using on yours? I don't see a DEFINE OSC statement.
Robert
Last edited by Demon; - 18th September 2012 at 00:07. Reason: Delete duplicate thread
Thank you Robert and Dave.
Actually I managed to troubleshoot the program. PIC16F887A was build in with Tx and Rx in port C, so we actually no need to pre-define anything. Just use HSEROUT and HSERIN, it will automatically do everything for you. The default baud rate is 2400.
Anyway, thanks a lot. I will delete this thread soon.
Bookmarks