https://github.com/MajenkoLibraries/ICSC
Examples are there too.
( MySensors uses this code for 485 transport layer too )
Or another very simple example:
https://circuitdigest.com/microcontroller-projects/rs485-serial-communication-between-arduino-uno-and-arduino-nano