Unless you have a physical pull up or pulldown resistor on pin 1, then it should be declared as INPUT_PULLUP
Your if statement runs exactly once. Unless you are superhumanly fast, you will never be able to get it to run. Move the if statement into the loop() function.
You should check for pin 1 being LOW in your if statement.
4.There may be other problems after doing this, but that's what comes to mind in terms of obvious changes.
sorry i couldn't reply yesterday. it was because i made my profile that day and was restricted.
I was told I can't post any more replies, I have to wait 18 hours to reply.
(if what I write is a bit weird it's because I use a translator and it sometimes translates weirdly)
thanks for any help @LarryD