NEW 1 IF SW1=0 10 2 IF TIMER1=1 20 3 IF TIMER2=1 30 4 GOTO 1 10 LED=1 11 H=0 12 M=0 13 S=15 14 SETTIMER 1 15 GOTO 1 20 RELAY1=1 21 H=0 22 M=0 23 S=5 24 SETTIMER 2 25 CLEARTIMER 1 26 GOTO 1 30 RELAY1=0 31 LED=0 32 CLEARTIMER 2 36 GOTO 1 this line and the lines below are comments and can be removed with a text editor or the errors caused by trying to upload them can be ignored ------------------------------- timers.tmb Demonstrates how to use count down timers to turn on a relay 15 seconds after the on-board SW1 is activated and then turn it off 5 seconds later. LED indicates when SW1 has been detected.