The SoftwareSerial implementation for Arduino UNO R4 is missing the end() method.
Sometimes it is necessary to stop the Serial and start manually controlling the pins.
end is implemented for all other platforms that I have worked with
.
Why are you using SoftwareSerial on the R4 when it has 2 hardware Serial interfaces ?
Because sometimes you need more than 2 ports. And in my case, I am adding the support for it in Visuino. There are customers that have reported the missing method, as they need it
.
I would think that the number of times that a Visuino user would need 3 Serial interfaces that support the end() method is very small
Hi @mitov. You can submit a formal report to the Arduino developers by making an issue in the repository of the "Arduino UNO R4 Boards" platform, where that platform's SoftwareSerial library is hosted:
Or better yet, you can contribute the implementation of an end function for the library via a pull request .
Thank you! Reported.
I take any Visuino bug report very seriously, even if it is one user. That one user can very well be a big company as example, now or in the future. I try to fix every single bug/missing feature discovered by me or any of the users.
In order to make all relevant information available to any who are interested in this subject, I'll share a link to the formal report @mitov submitted:
I understand that, and good on you for taking that stance, but I wonder whether most Visuino users are aware of the fact that the Uno R4 has two hardware Serial interfaces, what their names are and which pins they use
They are more than aware
. Visuino displays 2 serials visually at front of them
. It is literally impossible to miss the second serial even if you try hard
. Adding software serial requires them to add Software Serial component and connect the pins, so I can assure you they would do this as a last resort ![]()
Thank you so much!