That doesn't do the same. It waits for 120ms before sending the IR sequence while the original code sends the IR sequence and then waits for 120ms.
The picture is visible although it's not schematics in my opinion. But it gives a rough overview how you plan to wire it.
Yes, it did, thank you.
I used this library as a slave implementation of the Modbus protocol for one of my projects (I actually modified it slightly to fit my rather specific needs). The library comes with examples of how to use it.
Using Modbus in a rather complex setup is probably not the best way start programming. Many beginners struggle with the concept of strict master/slave. The slave doesn't have a chance to tell the master anything, the master always have to ask exactly for everything.