Skip to content

Fixed SerialUSB transmissions not going through#9

Open
prnthp wants to merge 1 commit intoOpen-Bionics:masterfrom
prnthp:master
Open

Fixed SerialUSB transmissions not going through#9
prnthp wants to merge 1 commit intoOpen-Bionics:masterfrom
prnthp:master

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