Write 0 if no data input is received for an interval