kopia lustrzana https://github.com/Hamlib/Hamlib
Add set_vfo_opt to py3test.py
rodzic
3bf3ed8aa6
commit
388738b78b
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import sys
|
import sys
|
||||||
# Change this path to match your "make install" path
|
# Change this path to match your "make install" path
|
||||||
sys.path.append('/usr/local/lib/python3.9/site-packages')
|
sys.path.append('/usr/lib/python3.9/site-packages')
|
||||||
|
|
||||||
## Uncomment to run this script from an in-tree build (or adjust to the
|
## Uncomment to run this script from an in-tree build (or adjust to the
|
||||||
## build directory) without installing the bindings.
|
## build directory) without installing the bindings.
|
||||||
|
@ -121,6 +121,7 @@ def StartUp():
|
||||||
print('Latitude:\t%4.4f, %4d° %2d\' %2d" %1s\trecoded: %9.4f' \
|
print('Latitude:\t%4.4f, %4d° %2d\' %2d" %1s\trecoded: %9.4f' \
|
||||||
% (lat1, deg2, mins2, sec2, ('S' if sw2 else 'N'), lat3))
|
% (lat1, deg2, mins2, sec2, ('S' if sw2 else 'N'), lat3))
|
||||||
|
|
||||||
|
my_rig.set_vfo_opt(0);
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
StartUp()
|
StartUp()
|
||||||
|
|
Ładowanie…
Reference in New Issue