ArduinoRS485 - setPins()

Modify the pins used to communicate with the MAX3157 chipset. By default the library uses pin 14 for TX, pin A6 for drive output enable, and pin A5 for receiver output enable.

Syntax

RS485.setPins(int txPin, int dePin, int rePin)

Parameters

  • txPin: transmission pin (used to send break signals).
  • dePin: drive output enable pin.
  • rePin: receiver output enable pin.

Returns

None.

See also