ardino password protected

hello friends,

i want to make a program of simple led circuit,
conditions

  1. when press the switch led glow
  2. need to stop the woking of program after 10 days, and asking for an password to continue....

can you help me.please

How accurate does the 10 day timer have to be ?
How will the password be entered ?

What have you tried ?

10 days of run time while power on?
Or 10 days total elapsed even if the device is turned off?

Fayisbafara:
hello friends,

i want to make a program of simple led circuit,
conditions

  1. when press the switch led glow
  2. need to stop the woking of program after 10 days, and asking for an password to continue....

can you help me.please

Sounds like a school project. When you "stop the woking of program after 10 days" what do you mean by that? Do you mean 10 days from power-on? 10 days from pressing the button? 10 days from entering the password? 10 days even if the board is powered off?

If you measure 10 days from power-on or LED pressed or password then you will have to use the millis() timer to time unless you have a real-time clock (RTC).