I was messing around with smartpins today and ended up with this small utility.
Six smartpins are configured to select their input source frm P63.
The input selector of a smartpin has a reach of +/- 3 pins. I skip P62 (Tx).
Also each smartpin is set to a different bit clock.
The program defaults to 115200 baud and via a terminal program (I use PST) it
echoes any characters reeived.
At any time you can change the baudrate simply by changing the terminal baudrate to
one of the user defined baudarates and sending a "baud" string.
The code will acknowledge the baudrate change with a text message at the new baudrate.