ArduinoRS485 icon indicating copy to clipboard operation
ArduinoRS485 copied to clipboard

Add support for RS485 on Controllino Maxi/Mega

Open vzahradnik opened this issue 4 years ago • 1 comments

Support for RS485 on Controllino Maxi/Mega

  • This PR adds support for RS485 integrated into Controllino Maxi/Mega boards.
  • These boards use different PINs and different Serial object. Otherwise, the logic works the same.
  • I added a simple #ifdef...endif clause to check for these boards.
  • If users include the CONTROLLINO library, these flags are set for them. Including their library is recommended by their official guides. As an alternative, users can just set the flag #define CONTROLLINO_MAXI or #define CONTROLLINO_MEGA in their sketch. In such a case, I added a clause inside src/RS485.h, which tries to load the CONTROLLINO library.

vzahradnik avatar Aug 06 '20 14:08 vzahradnik

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: vzahradnik
:x: Robert-Faltus
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 09 '21 13:04 CLAassistant

We at Controllino are now updating our board support packages and we pretend to ad support for ArduinoRS485 by defining RS485_SERIAL_PORT, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_RE_PIN, RS485_DEFAULT_DE_PIN we just need the small change on #46, anyway thanks to @vzahradnik for this effort 👍

pmmarquez avatar Feb 01 '24 10:02 pmmarquez

I am closing this PR, since the intended functionality has been achieved via merging #51 .

aentinger avatar Feb 28 '24 07:02 aentinger