Skip to content

Added new HardwareSerial constructor using pin number #195

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 1 commit into from
Jan 15, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 11, 2018

Allow to instantiate HardwareSerial with pin number.
Both lines are the same:

HardwareSerial SerialLora(PA_1, PA_0); // PinNames
HardwareSerial SerialLora(PA1, PA0); // Pin number

@fpistm fpistm added the enhancement New feature or request label Jan 11, 2018
@fpistm fpistm added this to the Next release milestone Jan 11, 2018
@fpistm fpistm self-assigned this Jan 11, 2018
@fpistm fpistm requested a review from VVESTM January 11, 2018 17:05
@fpistm fpistm merged commit 64d6b7c into stm32duino:master Jan 15, 2018
@fpistm fpistm deleted the HwSerial_pinnumber branch January 15, 2018 17:16
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Added new HardwareSerial constructor using pin number
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.

1 participant