PDA

View Full Version : Serout instead of Hserout



Christopher4187
- 24th February 2013, 21:10
I need to blast data out of the PIC. Is there any difference between Serout and Hserout? Using software, does it make the communication slower?

Chirpy
- 25th February 2013, 00:14
difference is that one uses serial usart on chip and one does it through software. yes, software is slower, but only to a point, but if you only run it at 9600 baud rate, which most projects use, it doesnt matter. also, hserout can send and recieve the data while the rest of the loop is running where as serout has to wait till it's done to go through the loop.