OpenHome/main.py
2021-08-26 18:49:18 +02:00

13 lines
282 B
Python

from MAXCube import CUL
from MAXPacketHandler import MAXPacketHandler
DEBUG = True
if __name__ == '__main__':
cube = CUL("123456")
cube.connect("COM11")
print(cube.version_string())
handler = MAXPacketHandler(cube)
handler.receive_loop()
cube.disconnect()