Go Down

Topic: Determine hardware serial speed during program execution? (Read 456 times) previous topic - next topic

renasis

Hello,

I am switching the serial read/write speed throughout my program. Is there a function in the serial library that will return the current speed of the hardware serial port? I suppose that I could check the registers, has anybody done that already?

Thanks,

-ren

Graynomad

#1
Apr 10, 2012, 05:58 am Last Edit: Apr 10, 2012, 06:02 am by Graynomad Reason: 1
Quote
I suppose that I could check the registers,

Only way I know of.

That said you can just keep a variable that mimics the current value.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy