I'm trying to create an alarm clock on andruino uno, but I'm struggling with buttons. My problem is that I cannot write a code which is perceives the pushes. Basicly my code was only working when I pushed the button, as soon as I released it it went back to the regular stand. I would like to use switch-case for it. I can copy the code in comment if its need.
Thanks for the help.