Program around a character string
over dier RS232c port out:
Fat-marked lines with line number in the PRO mode (press MODE key to at the display PRO appears above input and in each case with ENTER key acknowledge.
COM1 = serial RS232c interface
COM2 = SIO interface (opto-electronic interface)
Receive buffers on 2048 bytes set
10 INIT " COM1:", 2048
Deletes the display
All variables on zero
Transfer parameter for the serial interface
1.Parameter data transmission rate in Baud (50 to 38400)
2.Parameter word length in bits (7 or 8)
3.Parameter parity (E=Gerade O=Ungerade N=Keine)
4.Parameter stop elements (1 or 2
5.Parameter X-on X-off log (X=Mit N=Ohne log)
6.Parameter SHIFT in/out log (S=Mit N=Ohne log)
40 SETCOM " COM1:", 9600, 8, N, 1, N, N
Defines the permitted line length (number of characters of a line to 255) and the EOL code (0=CR(ascii 13) 1=LF(ascii 10) 2=CR+LF(ascii 13)+(ascii 10))
50 PCONSOLE " COM1: ", 255,2
Over LPRINT, LLIST, LFILES, LPRINT leads supplied data to the RS232c interface.
60 SETDEV " COM1:", PO
Occupies the variable A$ with the text hello it
70 A$="Hallo it "
The text hello gives her over the RS232c interface out
80 LPRINT A$
If the program were input, the MODE
key press to at the display RUN appears above. Then in the display RUN
input and with the ENTER key acknowledge. The program is now executed.