Gave water duty cycle initial value to avoid memory access errors