From 87050b225e7fccd8958f831fa40799bd1bdacc53 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 15 Nov 2020 21:14:03 +0100 Subject: [PATCH] small steps --- Readme.MD | 2 +- maxserver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.MD b/Readme.MD index 424b8d5..ea9c739 100644 --- a/Readme.MD +++ b/Readme.MD @@ -15,7 +15,7 @@ OSC port : 9001 (change OSCport in maxserver.py) Obviously change /dev/cu.usbserial-1D1310 with your serial port like /dev/tty.USB0 -Heavy use of https://github.com/mcauser/micropython-max7219 +Heavy use of https://github.com/mcauser/micropython-max7219 and https://github.com/SpotlightKid/micropython-osc # Hardware connections diff --git a/maxserver.py b/maxserver.py index 8b286e1..9070cfb 100755 --- a/maxserver.py +++ b/maxserver.py @@ -89,7 +89,7 @@ def main(ip): pass finally: loop.close() - reqs = counter.count / (time.time() - start) + reqs = callback.count / (time.time() - start) print("Requests/second: %.2f" % reqs) if __name__ == '__main__':