I am trying to find some example code for PC and Arduino on Max485. I am using Lazarus (pascal code). I would like to control Arduino from PC on rs485. I have some Max485 and USB Connected to rs485. I will use about 50 feet long cable between PC to two Arduino. Each Arduino will have some LEDs, servos, buttons, and IR Infrared sensors. I did write some programs for stand only Arduino with LED, Servos, Buttons, and IR Infrared sensors just fine. But I could not figure out how to communicate between PC and Arduino. I want to be able to send and receive data from PC to first and second Arduino. I have google and could not find any example code for PC and Arduino But I did found code for Master Arduino with Slave Arduino. That is not what I am looking for. I want PC to be a master and two slaves Arduino. I might add more slave Arduino in the future. Someone mention that there is code in Wikispace. But no longer exist.