summaryrefslogtreecommitdiff
path: root/fm.py
diff options
context:
space:
mode:
Diffstat (limited to 'fm.py')
-rw-r--r--fm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fm.py b/fm.py
index 2a1d8be..dc8df68 100644
--- a/fm.py
+++ b/fm.py
@@ -13,6 +13,7 @@ async def streaming():
async for samples in sdr.stream():
# do something with samples
# ...
+ print(len(samples), samples[0])
# to stop streaming:
await sdr.stop()
@@ -22,3 +23,4 @@ async def streaming():
loop = asyncio.get_event_loop()
loop.run_until_complete(streaming())
+