I have a data logger script which reads from a serial port at 38400 baud. I want to output to the same port a dummy message once a second at a variable rate of 1200 to 9600 baud. Is there an easy way to do this (ie using fconfigure) or do I have to get in the weeds ( ie in the C code )