op-packages/simman2/files/gpsdata.gcom
github-actions[bot] b86d032e91 🤞 Sync 2026-04-23 06:19:46
2026-04-23 06:19:46 +08:00

20 lines
221 B
Plaintext

opengt
set com 9600n81
set senddelay 0.02
waitquiet 1 0.2
flash 0.1
:start
waitfor 5 "$G"
if % = -1 goto timeout
if % = 0 goto continue
:timeout
print "ERROR"
exit 1
:continue
get 1 "^m" $s
print $s
exit 0