-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[FR] Independent baudrate setting for secondary serials #16255
Comments
You can just edit Marlin/src/Marlin.cpp find MYSERIAL1.begin(BAUDRATE); and change BAUDRATE to be a number.. (Some ofther board have it set elsewhere eg Marlin/src/HAL/HAL_LPC1768/main.cpp |
Or add the line #define BAUDRATE1 9600 to your configuration.h and change MYSERIAL1.begin(BAUDRATE); to MYSERIAL1.begin(BAUDRATE1); |
Big thanx! Last question |
Sure it can be done... but not without coding... The firmware would need to know what is on the serial port in order to talk to it. Also if its a 8 bit controller, it pays to use real hardware serial ports. |
For low baudrate devices I used software serial lib ( for arduino) a couple years ago. It worked on any spare pins. Now for Marlin 2.0 I did not try this lib. |
I think this is closely related to #17599. The more ports available, the more important this becomes. |
#21949 was merged, this can be closed. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I want to connect different serial devices to my boards
some of them are 9600, some 115200.
For Pronterface-USB connection I use 250000
But marlin 2.0 does not allow to set separated baudrates for secondary serial.
Any hack?
The text was updated successfully, but these errors were encountered: