Incremental Timer Alterts

Hi All,

Im relatively new to arduino and found this tutorial on making a timer.

For my project i need to make this timer give incremental alerts.

For example:

If the user inputs 10 minutes then the buzzer will sound at 2.5, 5, 7.5 and 10 minutes.

Can anyone suggest how I would go about this?? Would be super helpful!

ino file is attatched belwo

Cheers!

Sam

timer.ino (8.85 KB)

Examples are great, but what is the actual formula that determines the intermediate alerts? Is it every 2.5 minutes or is it an even division into 4 time periods?

Yes even divisions. i'm aiming for quarterly intervals; so it takes the time input and then alerts at 1/4 2/4 3/4 4/4 etc