fixxed errors in connecting hub

This commit is contained in:
2026-02-11 19:42:36 +01:00
parent 0a63ceca7f
commit 5b64bef1bc
2 changed files with 30 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
# test-mk.py
from mkconnect.mouldking.MouldKing import MouldKing
print("MouldKing erstellen...")
hub = MouldKing() # ← sollte jetzt gehen
print("\nVerfügbare Methoden:")
print([m for m in dir(hub) if not m.startswith('_')])
# Teste ein paar typische Aufrufe (auskommentieren was Sinn macht)
# hub.connect()
# hub.set_motor('A', 0.5)
# hub.stop_all()