Thx for your reply ...I tried with delay between 500ms and 3000 ms...the same. Also i tried with 16F1503 ...the same.