title: is there a way to do plugnplay for arduino?
body: <p>First Thanks in advance.</p>
  <p>Is there a way for an Arduino board to detect what other boards are attached (such as infrared, or servo motor etc) or simple things such as led or push buttons? Basically is there a way to do Plug N Play?</p>
  <p>I would like to design a system using an Arduino were the user can mix and match infrared sensors, motors, led.  The script would recognize what is attached to the board and respond accordingly. Currently one is forced to hard code in the script identifying what pin is attached to what. Hence if the user pulls out a servo motor and adds an infrared, then the script must be rewritten. This is what I want to avoid.</p>
  <p>Thanks.</p>