NEW 1 IF SW1=0 15 2 LED=1 3 DELAY 1 4 IF SW1=0 15 5 LED=0 6 DELAY 1 7 A=KEY 8 B=27 9 IF A=B 60 10 GOTO 1 15 LED=1 20 DELAY 30 21 RELAY1=1 22 DELAY 30 23 RELAY2=1 24 DELAY 30 25 RELAY3=1 26 DELAY 30 27 RELAY4=1 28 DELAY 30 29 RELAY5=1 30 DELAY 30 31 RELAY6=1 32 DELAY 30 33 RELAY7=1 34 DELAY 30 35 RELAY8=1 36 DELAY 30 40 RELAY1=0 41 RELAY2=0 42 RELAY3=0 43 RELAY4=0 44 RELAY5=0 45 RELAY6=0 46 RELAY7=0 47 RELAY8=0 50 GOTO 1 60 END 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 ------------------------------- relayrc.tmb for the RC51 Blinks LED while waiting for SW1 to be pressed or ESC to be pressed to end, then turns on LED steady, turns on relays 1-8 in sequence waiting 3 seconds between each, turns off relays and repeats.