pulserel.tmb for the DR51 Waits for a character at the serial port, turns on a relay based on the character, waits a specified amount of time, and turns off the relay. relay 1 = "1" relay 2 = "2" ------------------------------- NEW 1 A=KEY 2 B="1" 3 IF A=B 10 4 B="2" 5 IF A=B 20 6 GOTO 1 10 RELAY1=1 11 DELAY 30 12 RELAY1=0 13 GOTO 1 20 RELAY2=1 21 DELAY 30 22 RELAY2=0 23 GOTO 1