Add SER2.BAS
This commit is contained in:
parent
7f1a8a3164
commit
a4cb939b72
11
SER2.BAS
Normal file
11
SER2.BAS
Normal file
@ -0,0 +1,11 @@
|
||||
REM ****************************************
|
||||
REM ** RECEIVE TEXT FROM A SERIAL TERMINAL *
|
||||
REM ****************************************
|
||||
2 ON COM GOSUB 10
|
||||
3 COM ON
|
||||
10 OPEN "COM:88N1E" FOR INPUT AS 1
|
||||
20 OPEN "INTXT1.DO" FOR OUTPUT AS 2
|
||||
30 LINE INPUT #1,A$
|
||||
40 PRINT #2,A$
|
||||
50 IF NOT EOF(1) THEN GOTO 30
|
||||
60 CLOSE 1,2
|
Loading…
Reference in New Issue
Block a user