Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4
Armite F4 ArmiteH7 Picomite CMM2
Syntax:
BAUDRATE( comm [, timeout] )
Description:
Returns the baudrate of any data received on the serial communications port 'comm').
This will sample the port over the period of 'timeout' seconds.
'timeout' will default to one second if not specified.
Returns zero if no activity on the port within the timeout period.
br = BAUDRATE(1)
comspec$ = "com1:"+str$(br)
print comspec$
OPEN comspec$ AS #1
LINE INPUT #1, junk$ ' flush out initial data
DO
LINE INPUT #1, txt$
PRINT txt$
LOOP
output:
com1:9600
$GNGSA,A,3,17,19,12,25,,,,,,,,,4.65,4.15,2.10*12
$GNGSA,A,3,76,85,,,,,,,,,,,4.65,4.15,2.10*14
Last edited: 29 September, 2020