Need help in transmission between 2 Arduino and RS485 BreakOut Board


I am trying out to transmit simple data from an Arduino to the other using 2 RS485 Breakout Board. I am thinking to have 2 switches and 2 LEDs. When Arduino 1 switch is ON Arduino 2 LED is ON, Arudino 1 LED is ON, Arduino 2 Switch is ON. Has anyone tried such projects before or seen such projects before? I need some help as I am quite new in programming Arduino. Thanks!