Control led at pin 13 of Arduino 2 through serial communication from Arduino 1

Do you use the button? I don’t see any code for it other than declaring it

If you want blink then upload this and change the digitalwrite ledPin code to your serial code

There is information on using serial here: