Kapitel 15 GPIO

This commit is contained in:
2023-05-05 06:30:12 +02:00
parent 3434ab2d9f
commit 03beec6a85
10 changed files with 1 additions and 1 deletions

10
teil15/network/code.py Normal file
View File

@@ -0,0 +1,10 @@
def receive(conn):
msg = conn.recv(64).decode('utf-8')
return msg
def send(client, msg):
message = msg.encode('utf-8')
client.send(message)