Thanks mister_e,
That worked at 9600,
Lost me why DEFINE HSER_SPBRG 129 I cannot find any reference to that in the picbasic manual.
Also I did get a compiler error about an op code with this:
@ __config _HS_OSC & _WDT_ON & _PWRTE_ON & _BODEN_ON & _LVP_OFF
I guessed, added a rem before it then added this DEFINE OSC 20 and it compiled ok.
All I need now is to get to the 19200 and I will be happy.
Do I need to just change the DEFINE HSER_SPBRG 129 value to reach 19200
Thank you also for the gif with the diagram, that helped a lot aswell.
Lory
Bookmarks