OK, HSEROUT is working, and so is the timer interupt. After almost 30 minutes, it was slow about 20 seconds. I'm guessing that could be drift in the internal OSC? It's all I'll need for the current project.
I used the HSEROUT settings from the PBP manual, I compaired them to the data sheet for the 18F2550, I didn't see anything that I felt like I should change. Learned my lesson with the T1CON settings.
Thanks for the help.
For those reading this that are worried about changing from Debug to HSEROUT, it wasn't bad, I used the following Defines:
Code:
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 20h
DEFINE HSER_BAUD 9600
DEFINE HSER_CLROERR 1
The HSEROUT looks like this:
Code:
Hserout [10," M: ",dec Minutes," S: ",dec Seconds," T: ",dec Ticks,10]
I'm using the "Serial Communicator" in MicroCode Studio (F4 key)
The pic is connected to a MAX232, I think this is needed for HSEROUT? Someone correct me if I'm wrong.
Also I'm using a DYNEX RS232 to USB adapter:
Model: DX-UBDB9 from BestBuy
I'm Using Windows VISTA, so I downloaded the latest drivers from their website, and only had moderate issues with VISTA ( mostly operator error )
Hope this helps out anyone else that has questions about a setup.
Shane
Bookmarks