beginer needs help with programing a alarm clock

so i followed the 7 segment display tutorial from here http://www.hacktronics.com/Tutorials/arduino-and-7-segment-led.html and i tought that i can make a alarm clock that rings every 10 minutes so i wanted to use a piezo speaker(used in the digital imput10) but i dont know how to change the code everything is in the link

I would get ride of the delay() function and use "blink without delay" technique instead. Use the BWD technique to look for a 10 minute time passing and do a tone(piezoPin,3400,100);