*: Input 1 if the input port of computer is
COM 1, or input 2 for COM 2 ...etc.
20 LINE INPUT #1, A$
30 PRINT A$
40 GOTO 20
50 END
b. Save the above program file.
Below is the data output format for RS-232 interface.
Please refer to the notes for more information.
Space : 〝 〞(20h)
S(sign) : this digit remains space(〝 〞) if there
is a positive weight data, otherwise, S
will be as minus(〝-〞).
WWW.WW : weight data(6 digits, including decimal
point)
UU : weight unit(g, kg, lb)