REM File: AUTOEXIT.BAS Date: 01/24/92 REM REM /* (c) Copyright BLUE EARTH RESEARCH, MANKATO, MN 1992. */ REM /* All rights reserved. */ REM REM The following program allows a controller in the autoexecute mode REM to NOT automatically execute the application program when a space REM character is received in the first few seconds after power is REM applied. REM REM This is useful in the final stages of program development when the REM controller needs to be in the autoexecute mode, but you want to be REM able to hook it up to your PC and easily change your program. REM REM Caution: This program should not be used in the final application REM where there is a possibility that an unwanted space character could REM be received immediately after power is applied. 1 REM CHECK FOR AUTOEXEC REM WAIT FOR A COUPLE SECONDS - IF NO SPACE, THEN PROCEED 2 X=0 4 A=GET : IF A=32 THEN END 6 X=X+1 : IF X<800 THEN 4 ELSE RROM2