ok guys! the problem is solved by the Grace of Almighty Allah.

I removed the lcdout command, and now the coding works well

Thanks a lot for ur kind help