Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
jfpoilpret: Yes, I can confirm that the last line printed is definitely the last line. It is not reprinted. Also, I can confirm the 10 ohm resister exists between my button and the input pin, and that the opposite button side is connected to GND. The wiring probably isn't a problem because if I use a different code with the same wiring to do other similar behaviors, it still works.