I thank everybody in the forum who contributed to make my effort to become succesful.
the code now is working perfect.
filter caps,and cmcon = 7
adcon1 =7
and configuration,and a little hardware fault,.