VLSI Lab 3 rev. 1
This commit is contained in:
13
7th-Semester-Fall-2024/ECOMMS/final-project/sdr_stream.py
Normal file
13
7th-Semester-Fall-2024/ECOMMS/final-project/sdr_stream.py
Normal file
@ -0,0 +1,13 @@
|
||||
from rtlsdr import RtlSdr
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
import scipy as sp
|
||||
import asyncio
|
||||
|
||||
async def streaming():
|
||||
sdr = RtlSdr()
|
||||
|
||||
async for samples in sdr.stream():
|
||||
|
||||
await sdr.stop()
|
||||
sdr.close()
|
Reference in New Issue
Block a user