Thanks for your replys, I think I will be able to complete the timer-part now =)
One more thing regarding the servo, though. I am using the Servo.h-library. I'm using a servo that came along with my arduino, called "TowerPro MG995 digi high-speed" and I'm having a problem controlling it.
I made a code that's pretty simple, just to test it out:
For some reason, this did not work. It's not accurate at all, and sometimes it makes some really weird noises. :S
Am I correct that I can just hook the cables up directly to the arduino, no resistors required?
EDIT: Also, when powered by the USB, it keeps disconnecting and re-connecting from the computer while the servo is connected. Drawing to much current?