3 ms·
The while condition is reading the pin. The first delay lets the pin stabilize before waiting for the pin to go false.
by __david__ 4y ago
The while condition is reading the pin. The first delay lets the pin stabilize before waiting for the pin to go false.