Arduino sketch to detect airlock bubbles and output bubble duration in 10ms units