Skip to content

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 added 3 commits May 3, 2021 18:49
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#1193

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@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