small steps

This commit is contained in:
Sam 2020-11-15 21:14:03 +01:00
parent 8ba4bd1761
commit 87050b225e
2 changed files with 2 additions and 2 deletions

View File

@ -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 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 # Hardware connections

View File

@ -89,7 +89,7 @@ def main(ip):
pass pass
finally: finally:
loop.close() loop.close()
reqs = counter.count / (time.time() - start) reqs = callback.count / (time.time() - start)
print("Requests/second: %.2f" % reqs) print("Requests/second: %.2f" % reqs)
if __name__ == '__main__': if __name__ == '__main__':