I want to set the Baud rate of the serial port.
from command line i think i can do something like:
Is there a way to set it through my C code?
Is data written to the serial port synchronously or asynchronously?
In this matlab code I was using before, I could set the data to be written on the serial port synchronously or asynchronously.