Arduino code for robot

rudimentary function, needs refining of input parameters
New version

Refined controls to work on timer interrupted counter.
cleared double positive on if
Merge remote-tracking branch 'origin/Arduino-code'