summaryrefslogtreecommitdiffstats
path: root/recv.py
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-09-08 16:01:40 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-09-08 16:01:40 +0800
commit65a58c9a20b87c630d617a472a4a84d3b794e665 (patch)
tree8622f70271686e2ca9748fdd5ddfcce736852608 /recv.py
parent9a3105d96c568c17a9e399a469100c4c84a5cb70 (diff)
downloadesp32-inmp441-driver-65a58c9a20b87c630d617a472a4a84d3b794e665.tar.gz
UDP is kind of working.
Diffstat (limited to 'recv.py')
-rw-r--r--recv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/recv.py b/recv.py
index d91a6d9..900b765 100644
--- a/recv.py
+++ b/recv.py
@@ -15,7 +15,8 @@ try:
sock.bind(('', 3333))
while datetime.datetime.now() < read_until:
- msg, _ = sock.recvfrom(1024)
+ msg, _ = sock.recvfrom(1024)
+ print(msg)
wav.writeframes(msg)
finally:
wav.close()