interrupt based delay for mositure sensor