1 ========================================================================
4 To use, run python interactively. Then
6 >>> execfile("sdr1k-setup.py")
8 to get the interface started.
10 To set the frequency, do
12 >>> setDDSFreq(14.077)
14 To toggle the mute relay,
16 >>> setMuteRelay(not getMuteRelay())
24 and exit python. (The startup script, which is crude and will be
25 replaced shortly, does an openRig("/dev/parport0")
26 ========================================================================
30 There is a simple Makefile that does just the following --
32 swig -python hardware.i
33 gcc -fPIC -I. -I/usr/include/python -c hardware_wrap.c
34 gcc -fPIC -I. -c hardware.c
35 ld -shared hardware.o hardware_wrap.o -o _sdr1khw.so