Skip to content

USB CDC line state #1382

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

Merged
merged 3 commits into from
May 5, 2021
Merged

USB CDC line state #1382

merged 3 commits into from
May 5, 2021

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented May 4, 2021

Add api to manage the DTR usage.
Usage:

Serial.dtr(false); // Disable the DTR
Serial.dtr(true); // Enable the DTR - default state

Assuming Serial is mapped on SerialUSB

Also implement rts() and dtr() to return correct state,

Fixes #1193

@fpistm fpistm added the enhancement New feature or request label May 4, 2021
@fpistm fpistm added this to the 2.x.x milestone May 4, 2021
@fpistm fpistm merged commit cf6ba78 into stm32duino:master May 5, 2021
@fpistm fpistm deleted the USB_linestate branch May 5, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CDC] Serial USB without DTR
1 participant