SHARE
TWEET

Untitled

a guest May 6th, 2012 57 Never
  1. from rtlsdr import *
  2.  
  3. sdr = RtlSdr()
  4.  
  5. sdr.rs = 0.5e6
  6. sdr.fc = 100e6
  7. sdr.gain = 10
  8.  
  9. print 'Rs (pyrtlsdr):', sdr.rs
  10. print 'Fc (pyrtlsdr):', sdr.fc
  11. print 'Fc (librtlsdr):', librtlsdr.rtlsdr_get_center_freq(sdr.dev_p)
RAW Paste Data
Top