Loop with condition

i removed the pic16f and using arduino to drive it sir