Add information re: SoftwareSerial pins for all supported boards #1884
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What This PR Changes
Since the time the SoftwareSerial library documentation was written, Arduino has created several new products supported by the library. The information about which pins can be used on these board must be documented.
Although reasonable in the context of only needing to cover a few boards as was the case at the time the documentation was established, the previous prose format of the information does not scale well with the addition of information for more boards. For this reason, the information is migrated to a table.
Contribution Guidelines
Additional Context
Since the website preview system is currently broken, I generated the website locally and took a screenshot of it to provide a preview of how the new content will be rendered:
Despite quite some efforts, I was not able to get transmit working on any pin on the Arduino 101, but I didn't find any information about whether or not that is expected (apart from the statement that the 101's variant of the library is "a work in progress"). For this reason, it would be irresponsible for me to add a claim that any pin can be used as TX on this board so I intentionally left that cell in the table empty.
I was able to verify that receive works as stated.
After this, the only currently active product with SoftwareSerial library support not included in the table is the Portenta C33. I was not able to determine which pins are supported on this board due to not having the hardware on hand. I created an issue to track that task: #1885
Related: