pin D3 for flow sensor, which is on interrupt 0.