Pages: [1]   Go Down
Author Topic: SoftSerial Even Parity  (Read 407 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12579
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: [1]   Go Up
Jump to: