setPins()

Description

Modify the pins to used to communicate with the MAX3157. 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 - New pin to use for transmission (used to send break signals) dePin - New drive output enable pin rePin - New receiver output enable pin

Returns

nothing

See also

Last revision 2018/01/14 by SM