push button coding for robot