Skip to content

How do you know which hardware serial port ModbusClient uses (e.g., Serial3 on STM32Duino)? #162

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

Open
SeppeBudenaers opened this issue Apr 8, 2025 · 0 comments

Comments

@SeppeBudenaers
Copy link

Hi everyone,

I'm working on a project using an STM32 running STM32Duino, and I want to use the ModbusClient library. Is there a way to configure it to use a specific hardware serial port, like Serial3?

I came across this example:

Image

But as far as I can tell, it doesn't let me specify which serial port to use.
Am I missing something, or is there a way to set a different hardware serial?

Thanks in advance!

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

No branches or pull requests

1 participant