Chattyhome - intelligent house system

Use software timers. It's not hard to implement, and if you use a event-based approach you don't even need to care about synchronization issues.

Something like this maybe ?

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267975899/4#4

Álvaro