We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serial.redirect()
This is a feature request.
Is your feature request related to a problem? Please describe.
The current implementation of serial.redirect() silently discards the return value of uBit.serial.redirect():
uBit.serial.redirect()
uBit.serial.redirect(*getPin(tx), *getPin(rx));
Describe the solution you'd like
serial.redirect() returns a boolean or integer code to indicate the successfulness of redirection.
Describe alternatives you've considered
Make it clear in the comments that there is a possibility that the redirection will be rejected, and under what circumstances.
Additional context
None.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a feature request.
Is your feature request related to a problem? Please describe.
The current implementation of
serial.redirect()
silently discards the return value ofuBit.serial.redirect()
:uBit.serial.redirect(*getPin(tx), *getPin(rx));
Describe the solution you'd like
serial.redirect()
returns a boolean or integer code to indicate the successfulness of redirection.Describe alternatives you've considered
Make it clear in the comments that there is a possibility that the redirection will be rejected, and under what circumstances.
Additional context
None.
The text was updated successfully, but these errors were encountered: