title: Why Arduino needs to be restarted after PS2 controller communication in Arduino? And how to to do this via coding?
body: <p>When I ran the code for a drivetrain and opened serial monitor it was working, but when I powered on Arduino via dc Jack and ran the code. It was not working, because code is needed to restart after connection. I want to know that how can I solve this problem of PS2 communication and run my drivetrain without restart or starting serial monitor.</p>
  
  <p>Code that I uploaded was given in this instructable 
  <a href="http://www.instructables.com/id/Control-anything-with-ps2-controller-and-Arduino-/" rel="nofollow noreferrer">http://www.instructables.com/id/Control-anything-with-ps2-controller-and-Arduino-/</a></p>