Rain gauge with arduino GSM

Reeds need debouncing to avoid multiple counts, but the delay can be small, a couple of ms may be enough.

So adapt code for reading a button switch debounced.