you can even write..
TXSTA=$20
RCSTA=$90
SPBRG=15
this will do the same thing as
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 20h
DEFINE HSER_SPBRG 15 ' 9600 Bauds
If you don't use HSERIN/HSEROUT you MUST write to the register directly as i already wrote in the example i post to you yesterday.
Be sure of your SPBRG value... it's important and it's different for every crystal speed and baudrate. look the datasheet for that AND/OR use the calc i did in attachement.
REPEAT
UNTIL PIR1.4 = 1
TXREG = "A"
??????
Did you really look the example i posted before?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks