Pages: [1]   Go Down
Author Topic: SoftSerial Even Parity  (Read 416 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
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

Offline Offline
Shannon Member
Karma: 223
Posts: 12630
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.

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

Pages: [1]   Go Up
Jump to: