This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import numpy | |
import SoapySDR | |
CENTER_FREQ_HZ = 1262e6 | |
BANDWIDTH_HZ = 2_000_000 | |
def transmit_signal(sdr, signal): | |
tx_stream = sdr.setupStream(SoapySDR.SOAPY_SDR_TX, "CF32", [0]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "usb_example" | |
version = "0.1.0" | |
authors = ["Allen Welkie <allen.welkie@gmail.com>"] | |
[dependencies] | |
libusb = "*" |