Skip to content
New issue

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

Fixed SerialUSB transmissions not going through #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prnthp
Copy link

@prnthp prnthp commented May 21, 2018

Please correct if I'm wrong, but it seems like using SerialUSB.print() and then SerialUSB.write('\n') sends two successive DTRs and thus the receiving end ends up not getting anything i.e. it gets a string with no termination and thus drops it, then it gets a blank string with just the termination. This behavior happens with .NET's SerialPort.

Also, apologies for messing up the encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant