http://images.cheezburger.com/completestore/2009/11/29/129039934576943642.jpg
Oh humanity, I'm outdated now... Things changed then :o. At least you've cleared the CREN bit... but you want to...
Type: Posts; User: mister_e; Keyword(s):
http://images.cheezburger.com/completestore/2009/11/29/129039934576943642.jpg
Oh humanity, I'm outdated now... Things changed then :o. At least you've cleared the CREN bit... but you want to...
Yeah, that line is indeed handy. It also helps when SPBRG/TXSTA/RCSTA are properly set for the right OSC speed ;)
When using HSERIN/HSEROUT, you MUST use DEFINE. Then later, If you want to alter the baudrate of whatever else feature of the USART on the fly, then you use SPBRG, TXSTA, RCSTA.
If I remember...