Arduino 232 protocol master slave

Hi there

I am trying to use 2 arduino 1, one as a master and the other as a slave, also with the rs232, I am trying to control the velocity of a dc motor with a pot connected to the master and the motor to the slave one.

I am using the <simpplemodbusmaster.> and the <simplemodbusmaster.h> libraries already, but being honest I am not understanding how it works, also do you think there is a better library for this purpose or the one I’m using is a good option?

why RS232 ?

have a look at the examples in serial input basics