]> git.rkrishnan.org Git - dttsp.git/blob - pyhw2/sdr1k-setup.py
add a readme
[dttsp.git] / pyhw2 / sdr1k-setup.py
1 from sdr1khw import *
2
3 openPort("/dev/parport0")
4 DttSP_SampleRate = 48000.0
5
6 setRFE_Enabled(TRUE)
7 ResetRFE()
8 setXVTR_Enabled(FALSE)
9 setExtended(FALSE)
10 setXVTR_TR_Relay(FALSE)
11 setBandRelay(bs0)
12
13 Init()
14
15 setVFOOffset(0.0)
16 setATTN_Relay(TRUE)
17 setTransmitRelay(FALSE)
18 setGainRelay(TRUE)
19 setSpurReduction(FALSE)
20 setExternalOutput(FALSE)
21 setDDSClockCorrection(0.0)
22 setDDSFreq(13.845)
23 setMuteRelay(FALSE)