Go Down

Topic: SoftSerial Even Parity (Read 452 times) previous topic - next topic

I have an arduino sketch which is currently communicating to a device through the TX/RX on the UNO at 120081E.
The sketch sets the port to even parity using   UCSR0C = UCSR0C | B00100000;

Is it possible to set this same parity in Soft Serial?  It would be great to free up the tx/rx for the BTLE shield I am working with.

Thanks for any assistance

Rich in NY

PeterH

As far as I can see from the source, it assumes one start bit, one stop bit and no parity. I suppose it would be possible to enhance it to support sending and receiving parity, if you wanted.
I only provide help via the forum - please do not contact me for private consultancy.

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