I made a laser alarm system using Arduino but after uploading the code to the board, the laser beam was not visible but the module was switched on.
After clicking the reset button on the board, the beam was visible and working properly but just for a second and then it went back to being not visible like before.
I want the buzzer to go off for 3-4 seconds when the laser beam is obstructed.
How can I erase all the code uploaded in the and then write a new one acc. to the picture given below ? Please tell.
Can you tell the steps, I am confused. I have never used this, I only looked at a video to do this until now and they didn’t tell anything about how to do resetting.