Skip to content
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

ArduinoRS485 support #62

Closed
pmmarquez opened this issue Feb 7, 2024 · 1 comment · Fixed by #69
Closed

ArduinoRS485 support #62

pmmarquez opened this issue Feb 7, 2024 · 1 comment · Fixed by #69
Assignees

Comments

@pmmarquez
Copy link
Contributor

Adding support for ArduinoRS485 and ArduinoModbus libraries

In the BSP, to avr/variants/Controllino_mega/pins_arduino.h and avr/variants/Controllino_maxi/pins_arduino.h add the following definitions:

#define RS485_SERIAL_PORT           Serial3
#define RS485_DEFAULT_TX_PIN        14
#define RS485_DEFAULT_RE_PIN        76
#define RS485_DEFAULT_DE_PIN        75
@pmmarquez
Copy link
Contributor Author

pmmarquez commented Feb 28, 2024

After merging arduino-libraries/ArduinoRS485#51 now this should be changed to:

#define RS485_SERIAL_PORT             Serial3
#define RS485_DEFAULT_TX_PIN          14
#define CUSTOM_RS485_DEFAULT_DE_PIN   75
#define CUSTOM_RS485_DEFAULT_RE_PIN   76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants