If it's anything like the AVR's atmega uart, it might not be able to handle 5 baud right off. I had to bit-bang to operate the baud rate slow enough, and then switch quickly to 10400. I could give you the c code for bitbanging, but not sure how much help that would be in picbasic. I was having timing issues with c at 10400 baud,and gave up and got an ELM rather than re-writing my code in assembly because for my application the ELM worked. I'm not sure how good it's going to be compiling from basic, but I could PM it to you if you think it would help.



LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks