Sorry, I'm from China and my English is not very good. I want to know if the software serial can set parameters other than baud rate? There is no documentation. I have a headache!!!
PLEASE DO NOT HIJACK / NECRO POST !
Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
How hard did you look ?
I think this link will tell you more, such as parity settings etc.
First of all, thank you very much. I know the serial. Begin (speed, config) method. My doubt is that the software serial cannot use the serial. Begin (speed, config), which is an ordinary IO analog serial port. No suitable document has been found. Finally, thank you for your help.
I don't think any of the software serial libraries support varying parity bits - ODD, EVEN, MARK, SPACE etc. I think all you have control over is the baud rate.
Do you expect to find a document telling you about something that SoftwareSerial can't do ? The reference that I linked to has a link to the begin() function. It has details of the parameters that can be used and that does not include a config. I would conclude, therefore, that using config is not an option when using SoftwareSerial.
If you want to be certain then you have the source code for SoftwareSerial on your PC and can check for yourself, but I can tell you now that there is only one begin() function and it is not overloaded to accept a config parameter
Well, thank you very much.
Well, thank you very much.I can only simulate the serial port through the delay method.
I don't understand what you mean by that. Can you please provide more details ?
The actual reason is the programmer would have to write ALL the error recovery code and this would be way too much thinking for beginning Arduino programmers.
This is China's CSDN. Can you see it