portd.0 and portd.1 inputs get syncronus breaker lcosed and open cotact point.its repeat send sms.i can't anderstand how to write.