Ulli, I do not understand how while() can be used for debouncing. I have read the reference page on the while loops but still couldn't get it to work.
However, I found a guide http://opensourcehardwaregroup.com/arduino-short-course-public-pages/section-3-digital/tutorial-19-debouncing-a-button-with-arduino-old-version/ here that works but I would be glad if you could show me how to use the while() loops instead.
Thanks you! ![]()