If the PIC (as your F628) have an internal USART, i'll use it and keep code smaller. Of course you'll need additionnal hardware like MAX232 between the PIC and the PC. BUT using DEBUG, SEROUT,SEROUT you will not need it if you set to INVERTED mode.
SEROUT2 have almost the same function as DEBUG. The main difference is that DEBUG don't allow multiple i/o, work on a fixed baudrate BUT produce a tighter code and faster baudrate when using slow speed crystal like 4 MHZ.
SEROUT is... really limited but allow multiple serial pins, different baudrate.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks