Rewrite: Functionality to write content to special display

This commit is contained in:
Jonas Zeunert
2022-06-06 17:52:12 +02:00
parent cfdcbcb5bd
commit 9b1c994b44
4 changed files with 13 additions and 5 deletions

View File

@@ -56,6 +56,9 @@ class Networking:
def writeDisplayScore(self, display, score):
self.get("/displays/" + display + "/write_score/" + str(score))
def writeDisplayContent(self, display, content):
self.get("/displays/" + display + "/write_content/" + content)
async def getInputEvent(self):
header = list()
while b'\x02' not in header: