@felmue hi felix sorry for the late reply, finally got a chance to get back to this
i studied the example but not sure if i understood how to implement the master slave concept through this and also there is a error thrown in
RS485Class RS485(Serial2, GPIO_NUM_1, GPIO_NUM_2, -1, -1);
as there are only 4 arguments accepted by the class
also serial2 needs some tweaking for esp32 right?
thanks