ArduinoCore-renesas icon indicating copy to clipboard operation
ArduinoCore-renesas copied to clipboard

Added end() function to Soft Serial - fix for #463

Open maidnl opened this issue 8 months ago • 0 comments

This PR introduces the end() function to the Soft Serial library. Using the end() function allows to use the pins allocated for the Soft Serial "manually" as GPIO. Soft Serial can be enabled again with a new call to begin(). This PR has been tested using Soft Serial pins as GPIO (so simple Digital Input or Digital Output). Please note that when 2 pins are allocated to Soft Serial it is not allowed to change the function associated to these pins to "complex" configuration like PWM or PIN with Irq since the needed resources are taken by Soft Serial function.

maidnl avatar Apr 29 '25 10:04 maidnl